/* News page (detail + listing) */
.tvp-news-page {
  --tvp-news-page-surface: #ffffff;
  --tvp-news-page-surface-muted: #f8fafc;
  --tvp-news-page-border: #dbe3ef;
  --tvp-news-page-border-strong: #c5d1e1;
  --tvp-news-page-text: #1f2937;
  --tvp-news-page-text-muted: #526174;
  --tvp-news-page-title: #0f172a;
  --tvp-news-page-media-bg: #e2e8f0;
  --tvp-news-page-shadow: 0 1px 3px rgb(15 23 42 / 0.09);
  --tvp-news-page-shadow-hover: 0 8px 20px rgb(15 23 42 / 0.16);
  --tvp-news-page-focus: #0f6fdb;
  --tvp-news-page-filter-bg: #f1f5f9;
  --tvp-news-page-filter-bg-active: #c61f2f;
  --tvp-news-page-filter-text-active: #f8fafc;
  --tvp-news-page-pagination-bg: #ffffff;
  --tvp-news-table-bg: #ffffff;
  --tvp-news-table-color: #1f2937;
  --tvp-news-table-border: #dee2e6;
  --tvp-news-table-head-bg: #eef3f9;
  --tvp-news-table-head-color: #223047;
  --tvp-news-table-head-border: #c7d5e7;
  --tvp-news-table-radius: 0.82rem;
  --tvp-news-table-shadow: 0 10px 24px rgb(15 23 42 / 0.06);
  --tvp-news-table-striped-bg: rgb(31 41 55 / 0.05);
  --tvp-news-table-hover-bg: rgb(31 41 55 / 0.075);
  --tvp-news-table-caption: #6c757d;
  --tvp-news-admin-chip-bg: #fff1f3;
  --tvp-news-admin-chip-border: #f3c7cf;
  --tvp-news-admin-chip-text: #9f2030;
  --tvp-news-meta-pill-bg: #f7faff;
  --tvp-news-meta-pill-bg-soft: #eef4ff;
  --tvp-news-meta-pill-border: #d5e0ee;
  --tvp-news-meta-pill-text: #30455f;
  --tvp-news-meta-pill-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  --tvp-news-meta-pill-hover-bg: #ffffff;
  --tvp-news-meta-pill-hover-border: #b9c9dc;
  --tvp-news-tag-pill-bg: #f3f8ff;
  --tvp-news-tag-pill-border: #d7e4f3;
  --tvp-news-tag-pill-text: #203652;
  --tvp-news-tag-pill-hover-bg: #e8f1ff;
  --tvp-news-tag-pill-hover-border: #b8cbe4;
  --tvp-news-tag-pill-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  --tvp-news-reading-max: 72ch;
  --tvp-news-reading-title-max: 24ch;
  --tvp-news-lead-bg: #f3f7fd;
  --tvp-news-lead-border: #dbe6f3;
  --tvp-news-link: #0f5fbf;
  --tvp-news-link-hover: #0b4b97;
  --tvp-news-quote-bg: #f8fbff;
  --tvp-news-quote-border: #c61f2f;
  --tvp-news-quote-text: #334155;
  --tvp-news-quote-mark: #b91c2f;
  --tvp-news-quote-shadow: 0 8px 22px rgb(15 23 42 / 0.08);
  --tvp-news-hr-line: #d9e3ef;
  --tvp-news-hr-glow: rgb(15 111 219 / 0.18);
  --tvp-article-reading-max: var(--tvp-news-reading-max);
  --tvp-article-title: var(--tvp-news-page-title);
  --tvp-article-text: var(--tvp-news-page-text);
  --tvp-article-text-muted: var(--tvp-news-page-text-muted);
  --tvp-article-border: var(--tvp-news-page-border);
  --tvp-article-media-bg: var(--tvp-news-page-media-bg);
  --tvp-article-link: var(--tvp-news-link);
  --tvp-article-link-hover: var(--tvp-news-link-hover);
  --tvp-article-accent: var(--tvp-news-quote-border);
  --tvp-article-quote-bg: var(--tvp-news-quote-bg);
  --tvp-article-quote-text: var(--tvp-news-quote-text);
  --tvp-article-quote-mark: var(--tvp-news-quote-mark);
  --tvp-article-quote-shadow: var(--tvp-news-quote-shadow);
  --tvp-article-hr-line: var(--tvp-news-hr-line);
  --tvp-article-hr-glow: var(--tvp-news-hr-glow);

  color: var(--tvp-news-page-text);
  min-width: 0;
}

.tvp-news-page .tvp-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1;
  flex: 0 0 auto;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tvp-news-page .tvp-icon[data-icon-fill="1"] {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.2;
}

.tvp-news-page--list {
  margin-top: 0.2rem;
}

.tvp-news-header {
  margin-bottom: 0.85rem;
}

.tvp-news-filters {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 0.28rem 0.08rem 0.48rem;
}

.tvp-news-filter-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid var(--tvp-news-page-border);
  border-radius: 999px;
  background: var(--tvp-news-page-surface);
  color: var(--tvp-news-page-text);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.38rem 0.82rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.tvp-news-filter-link:visited {
  color: var(--tvp-news-page-text);
}

.tvp-news-filter-link:hover {
  border-color: var(--tvp-news-page-border-strong);
  background: var(--tvp-news-page-surface-muted);
  color: var(--tvp-news-page-text);
}

.tvp-news-filter-link.is-active {
  border-color: var(--tvp-news-page-filter-bg-active);
  background: var(--tvp-news-page-filter-bg-active);
  color: var(--tvp-news-page-filter-text-active);
}

.tvp-news-filter-link.is-active:visited {
  color: var(--tvp-news-page-filter-text-active);
}

.tvp-news-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.92rem;
}

.tvp-news-list-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tvp-news-page-border);
  border-radius: 0.78rem;
  background: var(--tvp-news-page-surface);
  box-shadow: var(--tvp-news-page-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tvp-news-list-card:hover {
  border-color: var(--tvp-news-page-border-strong);
  box-shadow: var(--tvp-news-page-shadow-hover);
  transform: translateY(-1px);
}

.tvp-news-list-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}

.tvp-news-list-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tvp-news-page-media-bg);
}

.tvp-news-list-media--placeholder {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.tvp-news-list-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.tvp-news-list-card:hover .tvp-news-list-image {
  transform: scale(1.02);
}

.tvp-news-list-category {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 1.2rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  background: #c61f2f;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.22);
  padding: 0.2rem 0.55rem;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
}

.tvp-news-list-body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 0.46rem;
  padding: 0.82rem 0.86rem 0.9rem;
}

.tvp-news-list-title {
  margin: 0;
  color: var(--tvp-news-page-title);
  font-size: clamp(1.05rem, 0.98rem + 0.38vw, 1.28rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.012em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.tvp-news-list-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.36rem;
  color: var(--tvp-news-page-text-muted);
  font-size: 0.86rem;
  line-height: 1.28;
  font-weight: 500;
}

.tvp-news-list-meta-dot {
  opacity: 0.6;
}

.tvp-news-list-admin-hits {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.44rem;
  border: 1px solid var(--tvp-news-admin-chip-border);
  border-radius: 999px;
  background: var(--tvp-news-admin-chip-bg);
  color: var(--tvp-news-admin-chip-text);
  font-weight: 600;
  font-size: 0.76rem;
  line-height: 1.1;
}

.tvp-news-list-excerpt {
  margin: 0;
  color: var(--tvp-news-page-text);
  font-size: 1rem;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tvp-news-list-empty {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid var(--tvp-news-page-border);
  border-radius: 0.7rem;
  background: var(--tvp-news-page-surface-muted);
  color: var(--tvp-news-page-text-muted);
}

.tvp-news-list-pagination {
  margin-top: 1rem;
  width: 100%;
}

.tvp-news-pagination-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 0.38rem;
}

.tvp-news-pagination-item {
  display: block;
  margin: 0;
  list-style: none;
}

.tvp-news-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.7rem;
  border-color: var(--tvp-news-page-border);
  background: var(--tvp-news-page-pagination-bg);
  color: var(--tvp-news-page-text);
  border-width: 1px;
  border-style: solid;
  border-radius: 0.52rem;
  text-decoration: none;
  line-height: 1;
}

.tvp-news-pagination-item.is-disabled .tvp-news-pagination-link {
  color: var(--tvp-news-page-text-muted);
  background: var(--tvp-news-page-pagination-bg);
  border-color: var(--tvp-news-page-border);
  pointer-events: none;
}

.tvp-news-pagination-item.is-active .tvp-news-pagination-link {
  border-color: #1f3c5d;
  background: #1f3c5d;
  color: #f8fafc;
}

.tvp-news-pagination-link:hover {
  border-color: var(--tvp-news-page-border-strong);
  background: var(--tvp-news-page-surface-muted);
  color: var(--tvp-news-page-text);
}

.tvp-news-pagination-item.is-active .tvp-news-pagination-link:hover {
  border-color: #1f3c5d;
  background: #1f3c5d;
  color: #f8fafc;
}

.tvp-news-list-pagination-info {
  margin: 0;
  text-align: center !important;
  color: var(--tvp-news-page-text-muted);
  font-size: 0.84rem;
  line-height: 1.2;
}

.tvp-news-page--detail {
  margin-top: 0.2rem;
}

.tvp-news-inline-slot {
  width: min(100%, 300px);
  margin: 0.82rem auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tvp-news-inline-slot > * {
  max-width: 100%;
}

.tvp-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.82rem;
  align-items: start;
}

.tvp-news-layout-main,
.tvp-news-layout-side {
  min-width: 0;
}

.tvp-news-layout-side-sticky {
  position: static;
}

.tvp-news-layout-side .tvp-news-inline-slot {
  margin-top: 0;
}

.tvp-news-page--detail .tvp-news-layout {
  gap: 1rem;
}

.tvp-news-page--detail .tvp-news-detail-article {
  margin: 0;
  min-width: 0;
}

.tvp-news-page--detail .tvp-news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.46rem;
  margin: 0.82rem 0 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tvp-news-page-text-muted);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.3;
}

.tvp-news-page--detail .tvp-news-detail-meta > span,
.tvp-news-page--detail .tvp-news-detail-meta > a:not(.tvp-news-admin-link) {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.92rem;
  padding: 0.24rem 0.68rem;
  border: 1px solid var(--tvp-news-meta-pill-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--tvp-news-meta-pill-bg) 0%, var(--tvp-news-meta-pill-bg-soft) 100%);
  color: var(--tvp-news-meta-pill-text);
  text-decoration: none;
  box-shadow: var(--tvp-news-meta-pill-shadow);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.tvp-news-page--detail .tvp-news-detail-meta > a:not(.tvp-news-admin-link):hover {
  border-color: var(--tvp-news-meta-pill-hover-border);
  background: var(--tvp-news-meta-pill-hover-bg);
  color: var(--tvp-news-page-title);
  transform: translateY(-1px);
}

.tvp-news-meta-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.tvp-news-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.92rem;
  height: 1.92rem;
  padding: 0;
  border: 1px solid var(--tvp-news-admin-chip-border);
  border-radius: 999px;
  background: var(--tvp-news-admin-chip-bg);
  color: var(--tvp-news-admin-chip-text) !important;
  text-decoration: none;
}

.tvp-news-admin-link:hover {
  border-color: #d97784;
  background: #ffe6ea;
  color: #8f1a29 !important;
}

.tvp-news-admin-link--hits {
  justify-content: flex-start;
  width: auto;
  height: auto;
  min-height: 1.92rem;
  padding: 0.18rem 0.62rem;
  gap: 0.3rem;
  line-height: 1.1;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}

.tvp-news-admin-link--hits .tvp-news-meta-icon {
  font-size: 0.9rem;
}

.tvp-news-admin-link--hits span {
  display: inline-block;
}

.tvp-news-admin-hits {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border: 1px solid var(--tvp-news-admin-chip-border);
  border-radius: 999px;
  background: var(--tvp-news-admin-chip-bg);
  color: var(--tvp-news-admin-chip-text) !important;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 600;
}

.tvp-news-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  white-space: nowrap;
  font-weight: inherit;
  color: inherit;
}

.tvp-news-page .table {
  --tvp-news-table-color-type: initial;
  --tvp-news-table-bg-type: initial;
  --tvp-news-table-color-state: initial;
  --tvp-news-table-bg-state: initial;
  --tvp-news-table-accent-bg: transparent;
  width: 100%;
  margin: 0 0 1.15rem;
  vertical-align: top;
  border: 1px solid var(--tvp-news-table-border);
  border-radius: var(--tvp-news-table-radius);
  overflow: hidden;
  border-color: var(--tvp-news-table-border);
  color: var(--tvp-news-table-color);
  background: var(--tvp-news-table-bg);
  border-collapse: collapse;
  box-shadow: var(--tvp-news-table-shadow);
  font-size: 0.94rem;
  line-height: 1.42;
}

.tvp-news-page .table > :not(caption) > * > * {
  padding: 0.56rem 0.66rem;
  color: var(--tvp-news-table-color-state, var(--tvp-news-table-color-type, var(--tvp-news-table-color)));
  background-color: var(--tvp-news-table-bg);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--tvp-news-table-border);
  box-shadow: inset 0 0 0 9999px var(--tvp-news-table-bg-state, var(--tvp-news-table-bg-type, var(--tvp-news-table-accent-bg)));
  transition: box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.tvp-news-page .table > thead {
  vertical-align: bottom;
}

.tvp-news-page .table > thead > tr > * {
  --tvp-news-table-color-state: var(--tvp-news-table-head-color);
  --tvp-news-table-bg-state: var(--tvp-news-table-head-bg);
  border-bottom-color: var(--tvp-news-table-head-border);
  border-bottom-width: 2px;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.tvp-news-page .table > tbody {
  vertical-align: inherit;
}

.tvp-news-page .table > tbody > tr > * {
  vertical-align: top;
}

.tvp-news-page .table > tbody > tr:last-child > * {
  border-bottom-width: 0;
}

.tvp-news-page .table > caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--tvp-news-table-caption);
  text-align: left;
}

.tvp-news-page .table a {
  color: var(--tvp-news-link);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.13em;
  font-weight: 600;
}

.tvp-news-page .table a:hover {
  color: var(--tvp-news-link-hover);
}

.tvp-news-page .table-sm > :not(caption) > * > * {
  padding: 0.34rem 0.48rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.tvp-news-page .table-sm > thead > tr > * {
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
  font-size: 0.72rem;
}

.tvp-news-page .table-striped > tbody > tr:nth-of-type(odd) > * {
  --tvp-news-table-color-type: var(--tvp-news-table-color);
  --tvp-news-table-bg-type: var(--tvp-news-table-striped-bg);
}

.tvp-news-page .table-hover > tbody > tr {
  transition: background-color 0.18s ease;
}

.tvp-news-page .table-hover > tbody > tr:hover > * {
  --tvp-news-table-color-state: var(--tvp-news-table-color);
  --tvp-news-table-bg-state: var(--tvp-news-table-hover-bg);
}

.tvp-news-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.tvp-news-page--detail .tvp-news-author {
  max-width: var(--tvp-news-reading-max);
  margin: 1.3rem auto 1.55rem;
  padding: 0.76rem 0.86rem;
  border: 1px solid var(--tvp-news-page-border);
  border-radius: 0.82rem;
  background: var(--tvp-news-page-surface-muted);
}

.tvp-news-page--detail .tvp-news-detail-article > .tvp-sharer-group {
  max-width: var(--tvp-news-reading-max);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.tvp-news-author-avatar-wrap {
  flex: 0 0 auto;
  padding: 0.5rem;
  border: 1px solid var(--tvp-news-page-border);
  border-radius: 0.6rem;
  background: var(--tvp-news-page-surface-muted);
}

.tvp-news-author-avatar {
  display: block;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  max-width: none;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.tvp-news-author-bio {
  color: var(--tvp-news-page-text-muted);
  font-size: 0.9rem;
}

.tvp-news-page--detail .tvp-news-author-bio {
  font-size: 0.92rem;
  line-height: 1.44;
}

.tvp-news-author-quote {
  font-style: italic;
}

.tvp-news-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.05rem 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
  border-radius: 0.5rem;
}

.tvp-news-video-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

.tvp-news-video-button:focus-visible {
  outline: 2px solid var(--tvp-news-page-focus);
  outline-offset: -2px;
}

.tvp-news-video-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
}

.tvp-news-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.4rem, 12vw, 4.6rem);
  height: clamp(3.4rem, 12vw, 4.6rem);
  border-radius: 999px;
  background: rgb(2 6 23 / 0.34);
  box-shadow: 0 0 0 1.8rem rgb(2 6 23 / 0.28), 0 28px 68px rgb(2 6 23 / 0.4);
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1;
  pointer-events: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, filter 0.22s ease, color 0.22s ease;
}

.tvp-news-video-embed:focus-within .tvp-news-video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

@media (hover: hover) {
  .tvp-news-video-embed:hover .tvp-news-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgb(2 6 23 / 0.46);
    box-shadow: 0 0 0 2.2rem rgb(2 6 23 / 0.32), 0 34px 78px rgb(2 6 23 / 0.48);
    filter: drop-shadow(0 0 8px rgb(255 255 255 / 0.32));
  }
}

.tvp-news-tags-title {
  font-size: 1.25rem;
  margin: 0 0 0.22rem;
  width: 100%;
}

.tvp-news-tag-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--tvp-news-tag-pill-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--tvp-news-tag-pill-bg) 0%, var(--tvp-news-page-surface) 100%);
  color: var(--tvp-news-tag-pill-text);
  padding: 0.3rem 0.72rem;
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: var(--tvp-news-tag-pill-shadow);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.tvp-news-tag-pill:hover {
  border-color: var(--tvp-news-tag-pill-hover-border);
  background: var(--tvp-news-tag-pill-hover-bg);
  color: var(--tvp-news-page-title);
  transform: translateY(-1px);
}

.tvp-news-related-cards {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.tvp-news-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 196px;
  width: 196px;
  min-width: 0;
  border: 1px solid var(--tvp-news-page-border);
  border-radius: 0.72rem;
  background: var(--tvp-news-page-surface);
  box-shadow: var(--tvp-news-page-shadow);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tvp-news-related-card--person,
.tvp-news-related-card--vod,
.tvp-news-related-card--channel {
  flex-basis: 136px;
  width: 136px;
}

.tvp-news-related-card:hover {
  border-color: var(--tvp-news-page-border-strong);
  box-shadow: var(--tvp-news-page-shadow-hover);
  transform: translateY(-1px);
}

.tvp-news-related-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}

/* Fallback stretched-link behavior for legacy micro-cards rendered in news widgets */
.tvp-news-page .micro-card {
  position: relative;
}

.tvp-news-page .micro-card .stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
}

.tvp-news-related-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--tvp-news-page-media-bg);
  overflow: hidden;
}

.tvp-news-related-card--person .tvp-news-related-card-media {
  aspect-ratio: 4 / 5;
}

.tvp-news-related-card--vod .tvp-news-related-card-media {
  aspect-ratio: 4 / 5;
}

.tvp-news-related-card--channel .tvp-news-related-card-media {
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  background: var(--tvp-news-page-surface-muted);
}

.tvp-news-related-card-media--placeholder {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.tvp-news-related-card-placeholder-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tvp-news-related-card-placeholder-icon,
.tvp-news-related-card-placeholder-icon.tvp-icon {
  display: block;
  width: 5.8rem !important;
  height: 5.8rem !important;
  flex: 0 0 5.8rem;
  color: #516177;
}

.tvp-news-related-card-channel-logo {
  width: 82px;
  height: 82px;
  max-width: 100%;
  max-height: 100%;
}

.tvp-news-related-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.tvp-news-related-card:hover .tvp-news-related-card-image {
  transform: scale(1.03);
}

.tvp-news-related-card-body {
  padding: 0.58rem 0.62rem 0.62rem;
}

.tvp-news-related-card--person .tvp-news-related-card-body {
  padding: 0.44rem 0.5rem 0.5rem;
}

.tvp-news-related-card--vod .tvp-news-related-card-body {
  padding: 0.44rem 0.5rem 0.5rem;
}

.tvp-news-related-card-title {
  margin: 0;
  width: 100%;
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
  color: var(--tvp-news-page-title);
}

.tvp-news-related-card--person .tvp-news-related-card-title {
  font-size: 0.8rem;
  line-height: 1.2;
}

.tvp-news-related-card--vod .tvp-news-related-card-title {
  font-size: 0.8rem;
  line-height: 1.2;
}

.tvp-news-related-card--channel .tvp-news-related-card-title {
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
}

.tvp-news-comments-head,
.tvp-news-related-head {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.tvp-news-comments-title,
.tvp-news-related-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.tvp-news-tags {
  margin: 0.08rem 0 0.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.36rem;
}

.tvp-news-filter-link:focus-visible,
.tvp-news-list-card-link:focus-visible,
.tvp-news-related-card-link:focus-visible,
.tvp-news-page .micro-card .stretched-link:focus-visible,
.tvp-news-tag-pill:focus-visible,
.tvp-news-pagination-link:focus-visible {
  outline: 2px solid var(--tvp-news-page-focus);
  outline-offset: 2px;
}

html[data-theme="dark"] .tvp-news-page,
html.dark .tvp-news-page,
body.dark-mode .tvp-news-page,
body.dark-theme .tvp-news-page {
  --tvp-news-page-surface: #111827;
  --tvp-news-page-surface-muted: #161f2d;
  --tvp-news-page-border: #334155;
  --tvp-news-page-border-strong: #4b647f;
  --tvp-news-page-text: #dbe4ef;
  --tvp-news-page-text-muted: #a9bacf;
  --tvp-news-page-title: #e2e8f0;
  --tvp-news-page-media-bg: #0f172a;
  --tvp-news-page-shadow: 0 2px 6px rgb(2 6 23 / 0.5);
  --tvp-news-page-shadow-hover: 0 8px 20px rgb(2 6 23 / 0.55);
  --tvp-news-page-focus: #7aa8ff;
  --tvp-news-page-filter-bg: #1c2738;
  --tvp-news-page-filter-bg-active: #c61f2f;
  --tvp-news-page-filter-text-active: #f8fafc;
  --tvp-news-page-pagination-bg: #1b2636;
  --tvp-news-table-bg: #111827;
  --tvp-news-table-color: #dbe4ef;
  --tvp-news-table-border: #334155;
  --tvp-news-table-head-bg: #203045;
  --tvp-news-table-head-color: #e2e8f0;
  --tvp-news-table-head-border: #3f5670;
  --tvp-news-table-shadow: 0 10px 26px rgb(2 6 23 / 0.4);
  --tvp-news-table-striped-bg: rgb(219 228 239 / 0.08);
  --tvp-news-table-hover-bg: rgb(219 228 239 / 0.12);
  --tvp-news-table-caption: #a9bacf;
  --tvp-news-admin-chip-bg: #3a1f27;
  --tvp-news-admin-chip-border: #6a3640;
  --tvp-news-admin-chip-text: #f0b6bf;
  --tvp-news-meta-pill-bg: #1b2a3b;
  --tvp-news-meta-pill-bg-soft: #223449;
  --tvp-news-meta-pill-border: #3f5670;
  --tvp-news-meta-pill-text: #d6e4f7;
  --tvp-news-meta-pill-shadow: 0 1px 3px rgb(2 6 23 / 0.35);
  --tvp-news-meta-pill-hover-bg: #24384f;
  --tvp-news-meta-pill-hover-border: #5f7ea0;
  --tvp-news-tag-pill-bg: #1f3147;
  --tvp-news-tag-pill-border: #45617f;
  --tvp-news-tag-pill-text: #dbe9fb;
  --tvp-news-tag-pill-hover-bg: #2a3f59;
  --tvp-news-tag-pill-hover-border: #6d8daf;
  --tvp-news-tag-pill-shadow: 0 1px 3px rgb(2 6 23 / 0.4);
  --tvp-news-lead-bg: #1d2d40;
  --tvp-news-lead-border: #365270;
  --tvp-news-link: #90c0ff;
  --tvp-news-link-hover: #c8e1ff;
  --tvp-news-quote-bg: #182638;
  --tvp-news-quote-border: #f06e7d;
  --tvp-news-quote-text: #d4dfec;
  --tvp-news-quote-mark: #ff98a4;
  --tvp-news-quote-shadow: 0 10px 28px rgb(2 6 23 / 0.38);
  --tvp-news-hr-line: #3d516b;
  --tvp-news-hr-glow: rgb(122 168 255 / 0.22);
}

html[data-theme="dark"] .tvp-news-list-media--placeholder,
html.dark .tvp-news-list-media--placeholder,
body.dark-mode .tvp-news-list-media--placeholder,
body.dark-theme .tvp-news-list-media--placeholder,
html[data-theme="dark"] .tvp-news-related-card-media--placeholder,
html.dark .tvp-news-related-card-media--placeholder,
body.dark-mode .tvp-news-related-card-media--placeholder,
body.dark-theme .tvp-news-related-card-media--placeholder {
  background: linear-gradient(135deg, #1f2937 0%, #334155 100%);
}

html[data-theme="dark"] .tvp-news-related-card-placeholder-icon,
html.dark .tvp-news-related-card-placeholder-icon,
body.dark-mode .tvp-news-related-card-placeholder-icon,
body.dark-theme .tvp-news-related-card-placeholder-icon {
  color: #d5deea;
}

@media (min-width: 700px) {
  .tvp-news-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .tvp-news-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
  }

  .tvp-news-layout.is-no-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .tvp-news-layout-side {
    align-self: stretch;
  }

  .tvp-news-layout-side-sticky {
    width: 100%;
  }

  .tvp-news-layout-side .tvp-news-inline-slot {
    margin: 0 0 0 auto;
  }
}

@media (min-width: 1180px) {
  .tvp-news-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .tvp-news-page--detail .tvp-news-detail-meta {
    margin-top: 0.64rem;
    gap: 0.3rem;
    font-size: 0.76rem;
  }

  .tvp-news-page--detail .tvp-news-detail-meta > span,
  .tvp-news-page--detail .tvp-news-detail-meta > a:not(.tvp-news-admin-link),
  .tvp-news-admin-hits {
    min-height: 1.72rem;
    padding: 0.14rem 0.48rem;
  }

  .tvp-news-admin-link {
    width: 1.72rem;
    height: 1.72rem;
  }

  .tvp-news-admin-link--hits {
    width: auto;
    height: auto;
    min-height: 1.72rem;
    padding: 0.14rem 0.5rem;
  }

  .tvp-news-page--detail .tvp-news-author {
    gap: 0.62rem;
    padding: 0.66rem 0.7rem;
  }

  .tvp-news-page--detail .tvp-news-detail-article > .tvp-sharer-group {
    margin-bottom: 0.82rem;
  }

  .tvp-news-list-title {
    font-size: 0.94rem;
    line-height: 1.3rem;
  }

  .tvp-news-list-excerpt {
    font-size: 0.87rem;
    line-height: 1.38;
  }

  .tvp-news-video-play {
    font-size: 4rem;
  }

}

@media (width >= 576px) {
  .tvp-news-page .micro-card .img-micro-card {
    opacity: 0.75;
    transition: opacity 0.2s;
  }
  .tvp-news-page .micro-card:hover .img-micro-card {
    opacity: 1;
  }
}


/* Legacy article/comment/modal styles needed by news.php when site.css is not loaded */
@media (prefers-reduced-motion: no-preference) {
  .nav-scroll {
    transition: all 0.5s ease-in-out;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-scroll {
    transition: none;
  }
}

.nav-scroll.scrolled {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.nav-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.comm_star_note {
  margin-top: 0.08rem;
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 1px 0 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  filter: drop-shadow(0 1px 1px rgb(15 23 42 / 0.25));
  transform: none;
}

.comm_star_note_1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ef5548' stroke='%23c7372a' stroke-width='0.85' d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E");
  color: #fff;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.46);
}

.comm_star_note_2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ec8b33' stroke='%23bf6514' stroke-width='0.85' d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E");
  color: #fff;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.42);
}

.comm_star_note_3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23f0c419' stroke='%23be9400' stroke-width='0.85' d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E");
  color: #101828;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.34);
}

.comm_star_note_4 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%233fcb7c' stroke='%232b9e5f' stroke-width='0.85' d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E");
  color: #fff;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.4);
}

.comm_star_note_5 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2345a7e7' stroke='%232d80ba' stroke-width='0.85' d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E");
  color: #fff;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.46);
}

.tvp-comment-item,
.tvp-comment-reply {
  --tvp-comment-bg: #eef4fb;
  --tvp-comment-bg-hidden: #fce8ea;
  --tvp-comment-bg-pending: #fff5de;
  --tvp-comment-bg-staff: #e7f4ff;
  --tvp-comment-border: #d5e1ef;
  --tvp-comment-border-hidden: #f2c6cc;
  --tvp-comment-border-pending: #f0d89f;
  --tvp-comment-border-staff: #b6d9f8;
  --tvp-comment-text: #1f2f45;
  --tvp-comment-text-muted: #526983;
  --tvp-comment-link: #1e4f84;
  --tvp-comment-link-hover: #173f69;
  --tvp-comment-action: #2c567f;
  --tvp-comment-action-hover: #1d4368;
  --tvp-comment-like-active: #0f6fdb;
  --tvp-comment-report: #bb8a1c;
  --tvp-comment-admin-ok: #198754;
  --tvp-comment-admin-ko: #c61f2f;
  --tvp-comment-vip: #bb8a1c;
  --tvp-comment-note-col: 33px;
  --tvp-comment-main-gap: 0.4rem;
  --tvp-comment-reply-arrow-col: 1.1rem;
  --tvp-comment-reply-gap: 0.34rem;
}

.tvp-comment-item {
  margin: 0.45rem 0 0.78rem;
}

.tvp-comment-main {
  display: grid;
  grid-template-columns: var(--tvp-comment-note-col) minmax(0, 1fr);
  align-items: flex-start;
  column-gap: var(--tvp-comment-main-gap);
}

.tvp-comment-main > .comm_star_note {
  grid-column: 1;
}

.tvp-comment-main > .tvp-comment-bubble {
  grid-column: 2;
}

.tvp-comment-main--reply {
  display: flex;
  align-items: flex-start;
  gap: var(--tvp-comment-reply-gap);
}

.tvp-comment-bubble {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5rem 0.62rem;
  border: 1px solid var(--tvp-comment-border);
  border-radius: 0.72rem;
  background: var(--tvp-comment-bg);
  color: var(--tvp-comment-text);
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tvp-comment-bubble--hidden {
  border-color: var(--tvp-comment-border-hidden);
  background: var(--tvp-comment-bg-hidden);
}

.tvp-comment-bubble--pending {
  border-color: var(--tvp-comment-border-pending);
  background: var(--tvp-comment-bg-pending);
}

.tvp-comment-bubble--staff {
  border-color: var(--tvp-comment-border-staff);
  background: var(--tvp-comment-bg-staff);
}

.tvp-comment-bubble--default {
  border-color: var(--tvp-comment-border);
  background: var(--tvp-comment-bg);
}

.tvp-comment-avatar {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
  margin: 0;
}

.tvp-comment-author-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.tvp-comment-author-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.tvp-comment-author-link:hover {
  color: inherit;
  text-decoration: none;
}

.tvp-comment-author-row {
  font-size: 1.05rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.26rem;
}

.tvp-comment-author {
  font-weight: 700;
}

.tvp-comment-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.18rem;
  height: 1.18rem;
  padding: 0 0.24rem;
  border: 1px solid currentColor;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tvp-comment-author--root {
  color: #c61f2f;
}

.tvp-comment-author--user {
  color: var(--tvp-comment-link);
}

.tvp-comment-author--ghost {
  color: var(--tvp-comment-text-muted);
}

.tvp-comment-vip-icon {
  display: inline-flex;
  align-items: center;
  color: var(--tvp-comment-vip);
}

.tvp-comment-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.125em;
}

.tvp-comment-meta {
  margin-left: calc(var(--tvp-comment-note-col) + var(--tvp-comment-main-gap) + 10px);
  margin-top: 0.28rem;
  font-size: 0.8rem;
  color: var(--tvp-comment-text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.tvp-comment-meta--reply {
  margin-left: calc(var(--tvp-comment-reply-arrow-col) + var(--tvp-comment-reply-gap) + 10px);
}

.tvp-comment-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tvp-comment-meta-item a {
  color: inherit;
  text-decoration: none;
}

.tvp-comment-meta-item a:hover {
  color: var(--tvp-comment-link-hover);
  text-decoration: underline;
}

.tvp-comment-action {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--tvp-comment-action);
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  line-height: 1.1;
  text-decoration: none;
}

.tvp-comment-action:hover {
  color: var(--tvp-comment-action-hover);
  text-decoration: underline;
}

.tvp-comment-action:focus-visible,
.tvp-comment-admin-link:focus-visible {
  outline: 2px solid var(--tvp-comment-like-active);
  outline-offset: 2px;
  border-radius: 0.35rem;
}

.tvp-comment-action:focus:not(:focus-visible),
.tvp-comment-admin-link:focus:not(:focus-visible),
.tvp-modal__close:focus:not(:focus-visible),
.tvp-modal .tvp-u-btn:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.tvp-comment-action--like.is-active {
  color: var(--tvp-comment-like-active);
}

.tvp-comment-action--like.is-disabled {
  opacity: 0.8;
  cursor: default;
  text-decoration: none;
}

.tvp-comment-action--like.is-disabled:hover {
  text-decoration: none;
}

.tvp-comment-like-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tvp-comment-action--report {
  color: var(--tvp-comment-report);
}

.tvp-comment-action--report:hover {
  color: #9f7415;
}

.tvp-comment-admin-link {
  text-decoration: none;
  margin-left: 0.25rem;
  display: inline-flex;
  align-items: center;
}

.tvp-comment-admin-link--ok {
  color: var(--tvp-comment-admin-ok);
}

.tvp-comment-admin-link--ko {
  color: var(--tvp-comment-admin-ko);
}

.tvp-comment-meta-item .tvp-comment-admin-link--ok,
.tvp-comment-meta-item .tvp-comment-admin-link--ok:hover,
.tvp-comment-meta-item .tvp-comment-admin-link--ok:focus-visible {
  color: var(--tvp-comment-admin-ok);
  text-decoration: none;
}

.tvp-comment-meta-item .tvp-comment-admin-link--ko,
.tvp-comment-meta-item .tvp-comment-admin-link--ko:hover,
.tvp-comment-meta-item .tvp-comment-admin-link--ko:focus-visible {
  color: var(--tvp-comment-admin-ko);
  text-decoration: none;
}

.tvp-comment-meta-item .tvp-comment-admin-link .tvp-comment-icon {
  stroke-width: 2.4;
}

.tvp-comment-reply {
  margin: 0.42rem 0 0.6rem 2.7rem;
}

.tvp-comment-reply-arrow {
  flex: 0 0 var(--tvp-comment-reply-arrow-col);
  width: var(--tvp-comment-reply-arrow-col);
  display: flex;
  justify-content: center;
  color: var(--tvp-comment-text-muted);
  margin-top: 0.16rem;
}

.tvp-comment-reply-arrow .tvp-comment-icon {
  transform: rotate(180deg);
  transform-origin: center;
}

body.tvp-modal-open {
  overflow: hidden;
}

.tvp-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  padding: 0;
}

.tvp-modal.is-open {
  display: block;
}

.tvp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.62);
  backdrop-filter: blur(2px);
}

.tvp-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100vw - 1.8rem), 34rem);
  max-height: calc(100vh - 1.8rem);
  margin: 0;
  outline: 0;
}

.tvp-modal__content {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  overflow: hidden;
  border: 1px solid #c8d8ea;
  border-radius: 0.85rem;
  background: #f8fbff;
  color: #1f2f45;
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.28);
}

.tvp-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.86rem;
  border-bottom: 1px solid #d9e4f0;
  background: #e8f2fc;
}

.tvp-modal__header--danger {
  border-bottom-color: #f2c9d0;
  background: #fce9ec;
}

.tvp-modal__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1d3f67;
}

.tvp-modal__header--danger .tvp-modal__title {
  color: #8b1f31;
}

.tvp-modal__close {
  appearance: none;
  border: 0;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #2b4d73;
  cursor: pointer;
}

.tvp-modal__close > span {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
}

.tvp-modal__close:hover {
  background: rgb(43 77 115 / 0.1);
}

.tvp-modal-input:focus-visible,
.tvp-modal-textarea:focus-visible {
  outline: 2px solid #3f84d8;
  outline-offset: 1px;
}

.tvp-modal__close:focus,
.tvp-modal__close:focus-visible {
  outline: none;
  box-shadow: none;
}

.tvp-modal__body {
  overflow: auto;
  padding: 0.82rem 0.9rem;
}

.tvp-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  border-top: 1px solid #d9e4f0;
  background: #eef5fc;
  padding: 0.72rem 0.86rem;
}

.tvp-modal-help {
  margin: 0 0 0.7rem;
  color: #334f6d;
}

.tvp-modal-field {
  margin-bottom: 0.74rem;
}

.tvp-modal-label {
  display: block;
  margin-bottom: 0.3rem;
  color: #274666;
  font-size: 0.92rem;
  font-weight: 600;
}

.tvp-modal-input-wrap {
  position: relative;
}

.tvp-modal-input-icon {
  position: absolute;
  top: 50%;
  left: 0.62rem;
  transform: translateY(-50%);
  color: #607a98;
  pointer-events: none;
}

.tvp-modal-input,
.tvp-modal-textarea {
  width: 100%;
  border: 1px solid #c4d4e6;
  border-radius: 0.55rem;
  background: #ffffff;
  color: #1d344f;
  padding: 0.56rem 0.68rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

.tvp-modal-input--with-icon {
  padding-left: 1.95rem;
}

.tvp-modal-textarea {
  min-height: 110px;
  resize: vertical;
}

.tvp-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.tvp-modal-actions--center {
  justify-content: center;
}

.tvp-modal-actions--stack {
  justify-content: stretch;
}

.tvp-modal-btn-block {
  width: 100%;
}

.tvp-modal-submit.disabled {
  opacity: 0.58;
  pointer-events: none;
}

.tvp-modal-note {
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0.78rem;
  font-size: 1.3rem;
}

.tvp-modal-note-label {
  min-width: 7.5rem;
  margin-left: 0.24rem;
  color: #2b5077;
  font-size: 0.95rem;
  font-weight: 600;
}

html[data-theme="dark"] .tvp-comment-item,
html.dark .tvp-comment-item,
body.dark-mode .tvp-comment-item,
body.dark-theme .tvp-comment-item,
html[data-theme="dark"] .tvp-comment-reply,
html.dark .tvp-comment-reply,
body.dark-mode .tvp-comment-reply,
body.dark-theme .tvp-comment-reply {
  --tvp-comment-bg: #233144;
  --tvp-comment-bg-hidden: #5e2630;
  --tvp-comment-bg-pending: #5c4420;
  --tvp-comment-bg-staff: #1f3956;
  --tvp-comment-border: #3f566f;
  --tvp-comment-border-hidden: #944854;
  --tvp-comment-border-pending: #8c6e38;
  --tvp-comment-border-staff: #4e7398;
  --tvp-comment-text: #e2e8f0;
  --tvp-comment-text-muted: #b6c6d9;
  --tvp-comment-link: #9ac5ff;
  --tvp-comment-link-hover: #bfdcff;
  --tvp-comment-action: #b7d0ea;
  --tvp-comment-action-hover: #d5e6f8;
  --tvp-comment-like-active: #63a4ff;
  --tvp-comment-report: #f1c861;
  --tvp-comment-admin-ok: #69d09a;
  --tvp-comment-admin-ko: #ff7686;
  --tvp-comment-vip: #f4cf74;
}

html[data-theme="dark"] .tvp-modal__content,
html.dark .tvp-modal__content,
body.dark-mode .tvp-modal__content,
body.dark-theme .tvp-modal__content {
  border-color: #3e566f;
  background: #203244;
  color: #dfe9f4;
  box-shadow: 0 18px 40px rgb(2 6 23 / 0.62);
}

html[data-theme="dark"] .tvp-modal__header,
html.dark .tvp-modal__header,
body.dark-mode .tvp-modal__header,
body.dark-theme .tvp-modal__header {
  border-bottom-color: #445c76;
  background: #1c3a57;
}

html[data-theme="dark"] .tvp-modal__header--danger,
html.dark .tvp-modal__header--danger,
body.dark-mode .tvp-modal__header--danger,
body.dark-theme .tvp-modal__header--danger {
  border-bottom-color: #75424d;
  background: #4f2430;
}

html[data-theme="dark"] .tvp-modal__title,
html.dark .tvp-modal__title,
body.dark-mode .tvp-modal__title,
body.dark-theme .tvp-modal__title {
  color: #e7f0fb;
}

html[data-theme="dark"] .tvp-modal__header--danger .tvp-modal__title,
html.dark .tvp-modal__header--danger .tvp-modal__title,
body.dark-mode .tvp-modal__header--danger .tvp-modal__title,
body.dark-theme .tvp-modal__header--danger .tvp-modal__title {
  color: #ffd2d8;
}

html[data-theme="dark"] .tvp-modal__close,
html.dark .tvp-modal__close,
body.dark-mode .tvp-modal__close,
body.dark-theme .tvp-modal__close {
  color: #c8def6;
}

html[data-theme="dark"] .tvp-modal__close:hover,
html.dark .tvp-modal__close:hover,
body.dark-mode .tvp-modal__close:hover,
body.dark-theme .tvp-modal__close:hover {
  background: rgb(200 222 246 / 0.12);
}

html[data-theme="dark"] .tvp-modal__footer,
html.dark .tvp-modal__footer,
body.dark-mode .tvp-modal__footer,
body.dark-theme .tvp-modal__footer {
  border-top-color: #445c76;
  background: #1e3144;
}

html[data-theme="dark"] .tvp-modal-help,
html.dark .tvp-modal-help,
body.dark-mode .tvp-modal-help,
body.dark-theme .tvp-modal-help {
  color: #c4d6ea;
}

html[data-theme="dark"] .tvp-modal-label,
html.dark .tvp-modal-label,
body.dark-mode .tvp-modal-label,
body.dark-theme .tvp-modal-label {
  color: #d3e3f7;
}

html[data-theme="dark"] .tvp-modal-input,
html.dark .tvp-modal-input,
body.dark-mode .tvp-modal-input,
body.dark-theme .tvp-modal-input,
html[data-theme="dark"] .tvp-modal-textarea,
html.dark .tvp-modal-textarea,
body.dark-mode .tvp-modal-textarea,
body.dark-theme .tvp-modal-textarea {
  border-color: #506884;
  background: #172737;
  color: #e5eef8;
}

html[data-theme="dark"] .tvp-modal-input-icon,
html.dark .tvp-modal-input-icon,
body.dark-mode .tvp-modal-input-icon,
body.dark-theme .tvp-modal-input-icon {
  color: #94afcc;
}

html[data-theme="dark"] .tvp-modal-note-label,
html.dark .tvp-modal-note-label,
body.dark-mode .tvp-modal-note-label,
body.dark-theme .tvp-modal-note-label {
  color: #cfe2f7;
}

@media (max-width: 575.98px) {
  .tvp-comment-meta {
    gap: 0.62rem;
  }

  .tvp-comment-reply {
    margin-left: 1.9rem;
  }

  .tvp-modal {
    padding: 0;
  }

  .tvp-modal__dialog {
    width: min(calc(100vw - 1.1rem), 34rem);
    max-height: calc(100vh - 1.1rem);
  }

  .tvp-modal__body {
    padding: 0.72rem 0.78rem;
  }
