.page-news {
  --news-panel: #171d24;
  --news-panel-deep: #10151a;
  --news-line: rgba(255, 255, 255, .14);
  --news-glow: linear-gradient(135deg, rgba(0, 168, 255, .18), rgba(255, 106, 0, .08));
  background: var(--c-bg-deep);
  color: var(--c-white);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

.page-news__wrap {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space);
  box-sizing: border-box;
}

.page-news a:focus-visible,
.page-news button:focus-visible,
.page-news summary:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 2px;
}

.page-news__hero {
  position: relative;
  padding: 0 0 28px;
}

.page-news__hero-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
}

.page-news__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, .2), rgba(13, 13, 13, .86));
  pointer-events: none;
}

.page-news__hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}

.page-news__hero-body {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 16px;
}

.page-news__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-silver);
  margin-bottom: 12px;
}

.page-news__crumb a {
  color: var(--c-primary);
  text-decoration: none;
  letter-spacing: .02em;
}

.page-news__crumb a:hover {
  color: var(--c-white);
}

.page-news__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-primary);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.page-news h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 58px);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  font-style: italic;
}

.page-news__h1-sub {
  display: block;
  font-style: normal;
  color: var(--c-primary);
  font-size: .62em;
  letter-spacing: .02em;
  margin-top: .22em;
  text-transform: none;
}

.page-news__lead {
  font-size: 15px;
  color: var(--c-silver);
  max-width: 34em;
  margin: 0 0 16px;
}

.page-news__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-white);
  background: rgba(0, 168, 255, .12);
  border-left: 3px solid var(--c-primary);
  padding: 6px 12px;
}

.page-news .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--c-silver);
  position: relative;
  flex-shrink: 0;
}

.page-news .status-dot--live {
  background: var(--c-neon);
  box-shadow: 0 0 0 0 rgba(57, 255, 20, .6);
  animation: page-news-pulse 1.8s infinite;
}

.page-news .status-dot--accent {
  background: var(--c-accent);
  box-shadow: 0 0 8px rgba(255, 106, 0, .6);
}

.page-news .status-dot--ok {
  background: var(--c-success);
}

@keyframes page-news-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, .6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(57, 255, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
  }
}

.page-news__section {
  padding: clamp(36px, 7vw, 64px) 0;
  position: relative;
}

.page-news__section--index {
  padding-top: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--news-line);
}

.page-news__index-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-news__index-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-white);
  background: var(--c-panel);
  border: 1px solid var(--news-line);
  padding: 12px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.page-news__index-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: var(--news-glow);
  transform: skewX(-18deg);
  z-index: 0;
  pointer-events: none;
}

.page-news__index-item>* {
  position: relative;
  z-index: 1;
}

.page-news__index-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary);
}

.page-news__index-no {
  font-family: var(--font-mono);
  color: var(--c-accent);
  font-weight: 700;
  font-size: 18px;
}

.page-news__index-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.page-news__index-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-silver);
}

.page-news__section--latest {
  background: linear-gradient(180deg, transparent, rgba(0, 168, 255, .04) 30%, transparent);
}

.page-news__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.page-news__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-style: italic;
  text-transform: uppercase;
  line-height: .95;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

.page-news__desc {
  color: var(--c-silver);
  max-width: 48em;
  margin: 0;
  font-size: 14px;
}

.page-news__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-news .filter-tabs__btn,
.page-news__filter {
  appearance: none;
  border: 1px solid var(--c-edge);
  background: var(--c-panel);
  color: var(--c-silver);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background .2s, color .2s, border-color .2s;
}

.page-news .filter-tabs__btn:hover,
.page-news__filter:hover {
  border-color: var(--c-primary);
  color: var(--c-white);
}

.page-news .filter-tabs__btn[data-active="true"],
.page-news .filter-tabs__btn.is-active {
  background: var(--c-primary);
  color: #0d0d0d;
  border-color: var(--c-primary);
  font-weight: 700;
}

.page-news .key-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 18px 0 0;
}

.page-news .key-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--c-silver);
}

.page-news .key-legend__swatch {
  width: 10px;
  height: 10px;
  display: inline-block;
  transform: rotate(45deg);
}

.page-news .key-legend__swatch--blue {
  background: var(--c-primary);
}

.page-news .key-legend__swatch--orange {
  background: var(--c-accent);
}

.page-news .key-legend__swatch--green {
  background: var(--c-neon);
}

.page-news .key-legend__swatch--yellow {
  background: var(--c-warn);
}

.page-news__updates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.page-news__update {
  background: linear-gradient(135deg, #161c22, #11151a);
  border: 1px solid var(--news-line);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.page-news__update::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(0, 168, 255, .25), transparent 70%);
  pointer-events: none;
}

.page-news__update:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary);
}

.page-news__update--feature {
  border-left: 4px solid var(--c-primary);
}

.page-news__update-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.page-news .tag {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--c-white);
  background: var(--c-panel);
  border: 1px solid var(--c-edge);
  text-transform: uppercase;
}

.page-news .tag--blue {
  background: rgba(0, 168, 255, .16);
  color: #7fd4ff;
  border-color: rgba(0, 168, 255, .35);
}

.page-news .tag--orange {
  background: rgba(255, 106, 0, .16);
  color: #ff9a5e;
  border-color: rgba(255, 106, 0, .35);
}

.page-news .tag--green {
  background: rgba(57, 255, 20, .12);
  color: var(--c-neon);
  border-color: rgba(57, 255, 20, .4);
}

.page-news .tag--yellow {
  background: rgba(255, 200, 87, .14);
  color: var(--c-warn);
  border-color: rgba(255, 200, 87, .35);
}

.page-news__update h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 8px;
  font-style: italic;
}

.page-news__update p {
  color: var(--c-silver);
  font-size: 14px;
  margin: 0 0 12px;
}

.page-news__update-data {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-edge);
  margin-top: auto;
}

.page-news__update-data-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-accent);
}

.page-news__update-data-label {
  font-size: 12px;
  color: var(--c-silver);
}

.page-news__update-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-silver);
  margin-top: 10px;
}

.page-news__section--versions {
  background: linear-gradient(180deg, transparent, rgba(255, 106, 0, .05) 60%, transparent);
}

.page-news__versions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news__timeline {
  border-left: 2px solid var(--c-edge);
  padding-left: 20px;
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.page-news__vitem {
  position: relative;
}

.page-news__vitem::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--c-accent);
  transform: rotate(45deg);
  border: 2px solid var(--c-bg-deep);
  box-sizing: border-box;
}

.page-news__vitem--current::before {
  background: var(--c-neon);
  border-color: var(--c-neon);
  box-shadow: 0 0 12px rgba(57, 255, 20, .5);
}

.page-news__vitem-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.page-news__vno {
  font-family: var(--font-mono);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 16px;
}

.page-news__vtime {
  font-family: var(--font-mono);
  color: var(--c-silver);
  font-size: 12px;
}

.page-news__vitem h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 8px;
  font-style: italic;
  line-height: 1.15;
}

.page-news__vitem p {
  color: var(--c-silver);
  font-size: 14px;
  margin: 0 0 8px;
}

.page-news__vlist {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-news__vlist li {
  padding-left: 16px;
  position: relative;
  color: var(--c-silver);
  font-size: 13px;
}

.page-news__vlist li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--c-primary);
}

.page-news__version-details {
  font-size: 13px;
  color: var(--c-silver);
  border: 1px solid var(--news-line);
  background: rgba(255, 255, 255, .03);
  padding: 4px 10px;
  margin-top: 10px;
}

.page-news__version-details summary {
  cursor: pointer;
  font-family: var(--font-mono);
  color: var(--c-primary);
  list-style: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 2px;
}

.page-news__version-details summary::-webkit-details-marker {
  display: none;
}

.page-news__version-details summary::before {
  content: "+";
  font-weight: 700;
}

.page-news__version-details[open] summary::before {
  content: "–";
}

.page-news__version-details-body {
  padding: 6px 2px 10px;
  color: var(--c-silver);
}

.page-news__version-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}

.page-news__version-media-frame {
  border: 1px solid var(--c-edge);
  padding: 8px;
  background: var(--c-panel);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.page-news__version-media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news__version-legend {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-silver);
}

.page-news__version-legend p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.page-news__topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-news__topic {
  background: var(--c-panel);
  border: 1px solid var(--news-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}

.page-news__topic:hover {
  transform: translateY(-2px);
  border-color: var(--c-accent);
}

.page-news__topic img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news__topic-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.page-news__topic-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
  font-style: italic;
  line-height: 1.15;
}

.page-news__topic-body p {
  font-size: 14px;
  color: var(--c-silver);
  margin: 0;
}

.page-news__topic--wide {
  grid-column: auto;
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--c-panel);
  color: var(--c-white);
  border: 1px solid var(--c-edge);
  font-size: 14px;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background .2s, color .2s, border-color .2s;
}

.page-news .btn:hover {
  border-color: var(--c-primary);
}

.page-news .btn--accent {
  background: var(--c-accent);
  color: #0d0d0d;
  border-color: var(--c-accent);
  font-weight: 700;
}

.page-news .btn--ghost {
  background: transparent;
  color: var(--c-white);
}

.page-news .btn--small {
  padding: 6px 12px;
  font-size: 13px;
}

.page-news__pinned {
  border: 1px solid var(--c-accent);
  background: linear-gradient(135deg, rgba(255, 106, 0, .12), rgba(13, 13, 13, .5));
  margin-bottom: 14px;
}

.page-news__pinned summary {
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px;
  font-weight: 700;
  list-style: none;
}

.page-news__pinned summary::-webkit-details-marker {
  display: none;
}

.page-news__pin-badge {
  background: var(--c-accent);
  color: #0d0d0d;
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.page-news__pinned-inner {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.page-news__notice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-news__notice {
  background: var(--c-bg);
  border: 1px solid var(--news-line);
  padding: 16px;
  position: relative;
}

.page-news__notice--pinned {
  border-left: 4px solid var(--c-accent);
}

.page-news__notice--entry {
  border-left: 4px solid var(--c-primary);
}

.page-news__notice--refresh {
  border-left: 4px solid var(--c-neon);
}

.page-news__notice h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 8px;
  font-style: italic;
  line-height: 1.2;
}

.page-news__notice p {
  font-size: 14px;
  color: var(--c-silver);
  margin: 0 0 10px;
}

.page-news__notice-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-silver);
}

.page-news__notice-banner {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  background: var(--c-panel);
  padding: 12px;
  border: 1px solid var(--news-line);
}

.page-news__notice-banner img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
}

.page-news__notice-banner-text {
  font-size: 13px;
  color: var(--c-silver);
  margin: 0;
}

.page-news__notice-banner .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.page-news__award {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--c-warn);
  background: rgba(255, 200, 87, .08);
}

.page-news__award p {
  margin: 0;
  font-size: 14px;
  color: var(--c-white);
  flex: 1;
  min-width: 220px;
}

.page-news__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--news-line);
}

@media (min-width: 760px) {
  .page-news__hero-media {
    height: 300px;
  }

  .page-news__hero-body {
    margin-top: -80px;
  }

  .page-news__index-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-news__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-news__head>div {
    max-width: 640px;
  }

  .page-news__updates {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news__update--feature {
    grid-column: span 2;
  }

  .page-news__versions-layout {
    grid-template-columns: 1.25fr .75fr;
    gap: 36px;
    align-items: start;
  }

  .page-news__topic--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-news__topic--wide img {
    height: 100%;
    min-height: 200px;
    object-fit: cover;
  }

  .page-news__topics {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news__topics .page-news__topic--wide + .page-news__topic {
    grid-column: span 1;
  }

  .page-news__pinned-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news__notice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news__notice-banner {
    grid-template-columns: 160px 1fr auto;
  }

  .page-news__notice-banner img {
    height: 80px;
  }

  .page-news__notice-banner .btn {
    grid-column: auto;
  }
}

@media (min-width: 1100px) {
  .page-news__updates {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news__update--feature {
    grid-column: span 2;
  }

  .page-news__topic--wide .page-news__topic-body {
    padding: 24px;
    justify-content: center;
  }
}
