.theme--dark .tt-whats-new-page,
body.theme--dark .tt-whats-new-page {
  --tt-bg-0: #000000;
  --tt-fg-0: #d0d0d0;
  --tt-up: #00c896;
  --tt-down: #ff4d6a;
  --tt-accent: #2962ff;
  --tt-border: rgba(255, 255, 255, 0.12);
  --tt-surface: rgba(255, 255, 255, 0.03);
  --tt-surface-glass: rgba(255, 255, 255, 0.05);
  --tt-shadow: rgba(0, 0, 0, 0.35);
}

.theme--light .tt-whats-new-page,
body.theme--light .tt-whats-new-page {
  --tt-bg-0: #ffffff;
  --tt-fg-0: #181818;
  --tt-up: #00c896;
  --tt-down: #ff4d6a;
  --tt-accent: #2962ff;
  --tt-border: rgba(0, 0, 0, 0.12);
  --tt-surface: rgba(0, 0, 0, 0.02);
  --tt-surface-glass: rgba(0, 0, 0, 0.03);
  --tt-shadow: rgba(0, 0, 0, 0.08);
}

.tt-whats-new-page {
  background: var(--tt-bg-0);
  color: var(--tt-fg-0);
}

.tt-whats-new-page .inner-page-hero {
  padding-top: 140px !important;
}

.tt-wn-hero {
  margin-bottom: 20px;
  text-align: center;
}

.tt-wn-hero__title {
  margin: 0 0 10px;
  color: var(--tt-fg-0);
  text-align: center;
}

.tt-wn-hero__subtitle {
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tt-fg-0);
  opacity: 0.8;
  max-width: 64ch;
  text-align: center;
}

.tt-wn-related {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--tt-border);
  border-radius: 12px;
  background: var(--tt-surface-glass);
  box-shadow: 0 8px 24px var(--tt-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (prefers-reduced-transparency: reduce) {
  .tt-wn-related {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--tt-surface);
  }
}

.tt-wn-related__title {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--tt-fg-0);
}

.tt-wn-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tt-wn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--tt-border);
  font-size: 12px;
  line-height: 1.2;
  color: var(--tt-fg-0);
  text-decoration: none;
  background: var(--tt-surface);
  transition: border-color 220ms cubic-bezier(0.16, 1, 0.3, 1), color 220ms cubic-bezier(0.16, 1, 0.3, 1), transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-wn-link:hover,
.tt-wn-link:focus-visible {
  color: var(--tt-accent);
  border-color: var(--tt-accent);
  transform: translateY(-1px);
  text-decoration: none;
}

.tt-wn-section {
  margin-bottom: 20px;
}

.tt-wn-section__title {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--tt-fg-0);
}

.tt-wn-month + .tt-wn-month {
  margin-top: 28px;
}

.tt-wn-month__title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--tt-fg-0);
  opacity: 0.88;
}

.tt-wn-entry {
  position: relative;
  margin-bottom: 14px;
  padding: 16px 16px 16px 20px;
  border: 1px solid var(--tt-border);
  border-radius: 12px;
  background: var(--tt-surface);
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-wn-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--tt-accent);
}

.tt-wn-entry:hover {
  transform: translateY(-2px);
}

.tt-wn-entry__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tt-wn-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--tt-border);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--tt-fg-0);
  background: var(--tt-surface-glass);
}

.tt-wn-tags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.tt-wn-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.tt-wn-tag--product {
  color: var(--tt-accent);
  border-color: rgba(41, 98, 255, 0.4);
  background: rgba(41, 98, 255, 0.12);
}

.tt-wn-tag--yescript {
  color: var(--tt-up);
  border-color: rgba(0, 200, 150, 0.4);
  background: rgba(0, 200, 150, 0.12);
}

.tt-wn-tag--platform {
  color: var(--tt-down);
  border-color: rgba(255, 77, 106, 0.4);
  background: rgba(255, 77, 106, 0.12);
}

.tt-wn-entry__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--tt-fg-0);
}

.tt-wn-list {
  margin: 0;
  padding-left: 18px;
}

.tt-wn-list li {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tt-fg-0);
  opacity: 0.88;
}

.tt-wn-list li + li {
  margin-top: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .tt-wn-entry {
    animation: tt-wn-entry-in 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--entry-index, 0) * 50ms);
  }
}

@keyframes tt-wn-entry-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-wn-entry,
  .tt-wn-link {
    animation: none;
    transition: none;
  }

  .tt-wn-entry:hover,
  .tt-wn-link:hover,
  .tt-wn-link:focus-visible {
    transform: none;
  }
}

@media (max-width: 991px) {
  .tt-whats-new-page .inner-page-hero {
    padding-top: 120px !important;
  }
}

@media (max-width: 767px) {
  .tt-wn-entry__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tt-wn-tags {
    justify-content: flex-start;
  }

  .tt-wn-entry__title {
    font-size: 16px;
  }
}
