.page-backdrop {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 4, 16, 0.2) 0%, rgba(8, 4, 16, 0.56) 100%),
    url('/assets/cosmic-bg.png') center/cover no-repeat;
  border-radius: 36px;
  overflow: hidden;
}

.news-banner-section {
  padding-top: 28px;
  padding-bottom: 8px;
}

.news-banner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 26px 28px;
  border: 1px solid rgba(201, 153, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 214, 107, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(14, 8, 28, 0.92), rgba(8, 5, 18, 0.96));
  box-shadow: 0 18px 46px rgba(8, 4, 15, 0.34);
  text-align: center;
}

.news-banner h1 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-shell {
  width: min(100%, 1180px);
  padding-top: 16px;
  padding-bottom: 80px;
}

.news-shell > .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 24px;
}

.news-stack {
  display: grid;
  gap: 18px;
}

.news-update.news-hidden-update {
  display: none;
}

.news-update {
  background: linear-gradient(180deg, rgba(13, 8, 24, 0.96), rgba(6, 4, 14, 0.98));
  border: 1px solid rgba(201, 153, 255, 0.2);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(8, 4, 15, 0.4);
  overflow: hidden;
}

.news-update-summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  cursor: pointer;
}

.news-update-summary::-webkit-details-marker {
  display: none;
}

.news-update-title h2 {
  margin: 2px 0 0;
  font-size: 1.22rem;
  text-transform: uppercase;
}

.news-update-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.news-update-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 18px;
  border: 1px solid rgba(201, 153, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24, 12, 40, 0.92), rgba(12, 7, 22, 0.96));
  color: #d9c8f4;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-collapse-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(201, 153, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9c8f4;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 166, 0, 0.2), rgba(255, 214, 107, 0.14));
  border: 1px solid rgba(255, 166, 0, 0.34);
  color: #ffd17b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-update.is-read .news-new-badge,
.news-update[open] .news-new-badge {
  display: none;
}

.news-update[open] .news-collapse-button {
  color: #ffd17b;
  border-color: rgba(255, 166, 0, 0.38);
  background: linear-gradient(90deg, rgba(255, 166, 0, 0.18), rgba(255, 255, 255, 0.04));
}

.news-update[open] .news-collapse-button::before {
  content: '−';
}

.news-update:not([open]) .news-collapse-button::before {
  content: '+';
}

.news-update-body {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-points {
  margin: 22px 0 0;
  padding-left: 18px;
}

.news-points li + li {
  margin-top: 10px;
}

.news-points-compact li + li {
  margin-top: 8px;
}

.news-centered-update .news-update-body {
  text-align: center;
}

.news-centered-content {
  display: grid;
  gap: 30px;
  width: min(100%, 900px);
  margin: 0 auto;
  padding-top: 22px;
}

.news-centered-section {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.news-centered-section h3 {
  margin: 0 0 2px;
  color: #ffd17b;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-centered-section p {
  width: min(100%, 780px);
  margin: 0;
  color: #eadff8;
  line-height: 1.72;
}

.news-photo-slot {
  display: grid;
  place-items: center;
  width: min(100%, 660px);
  min-height: 220px;
  margin: 10px auto;
  padding: 20px;
  border: 1px dashed rgba(255, 214, 107, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 214, 107, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(4, 3, 10, 0.72);
  color: #ffd17b;
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-next-update-note {
  width: min(100%, 780px);
  margin: 4px auto 0;
  padding: 26px 22px 28px;
  border: 1px solid rgba(255, 214, 107, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(255, 214, 107, 0.18), transparent 44%),
    radial-gradient(circle at bottom, rgba(201, 153, 255, 0.14), transparent 46%),
    linear-gradient(180deg, rgba(24, 12, 40, 0.84), rgba(8, 5, 18, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 38px rgba(8, 4, 15, 0.3);
}

.news-watch-eyes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2px;
}

.news-watch-eyes span {
  position: relative;
  width: 48px;
  height: 30px;
  border: 1px solid rgba(255, 214, 107, 0.52);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 55%),
    rgba(255, 214, 107, 0.08);
  box-shadow:
    0 0 18px rgba(255, 214, 107, 0.16),
    inset 0 0 12px rgba(255, 255, 255, 0.06);
}

.news-watch-eyes span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ffd17b;
  box-shadow: 0 0 12px rgba(255, 209, 123, 0.55);
  transform: translate(-50%, -50%);
  animation: news-eye-watch 3.2s ease-in-out infinite;
}

.news-watch-eyes span:nth-child(2)::before {
  animation-delay: 0.16s;
}

.news-next-kicker {
  color: #d9c8f4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes news-eye-watch {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  30% {
    transform: translate(-95%, -50%);
  }

  58% {
    transform: translate(-18%, -50%);
  }

  78% {
    transform: translate(-50%, -78%);
  }
}

.news-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.news-feature-copy {
  min-width: 0;
}

.news-stacked-feature {
  display: grid;
  gap: 18px;
  width: 100%;
  margin: 0;
}

.news-stacked-feature .news-media-showcase {
  width: 100%;
}

.news-release-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 107, 0.24);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 107, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.news-release-label {
  color: #ffd17b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-release-date {
  color: var(--text);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.news-release-countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.news-release-time {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
}

.news-release-status {
  color: var(--muted);
  font-size: 0.8rem;
}

.news-coming-soon {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 214, 107, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 214, 107, 0.08), rgba(255, 255, 255, 0.02));
  color: #f5e7bd;
}

.news-mini-slider {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-top: 22px;
  border: 1px solid rgba(201, 153, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 10, 29, 0.92), rgba(10, 6, 19, 0.98));
}

.news-mini-slider-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-mini-slider-wide .news-mini-slider-frame {
  aspect-ratio: 5 / 3;
}

.news-mini-slider-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease;
}

.news-mini-slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.news-mini-slider-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-mini-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-mini-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.news-mini-slider-dot:hover {
  transform: scale(1.08);
  background: rgba(255, 214, 107, 0.65);
}

.news-mini-slider-dot.active {
  background: #ffd66b;
}

.news-update-alert {
  border-color: rgba(255, 78, 78, 0.34);
  background:
    radial-gradient(circle at top, rgba(255, 82, 82, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(30, 7, 10, 0.96), rgba(12, 4, 8, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 94, 94, 0.08),
    0 20px 54px rgba(63, 10, 10, 0.5),
    0 0 34px rgba(255, 66, 66, 0.14);
}

.news-badge-alert {
  border-color: rgba(255, 110, 110, 0.36);
  background: linear-gradient(180deg, rgba(92, 13, 20, 0.9), rgba(44, 7, 11, 0.96));
  color: #ffd0d0;
  box-shadow: 0 0 18px rgba(255, 78, 78, 0.16);
}

.news-alert-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.95fr);
  gap: 22px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 94, 94, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 94, 94, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(31, 8, 11, 0.96), rgba(13, 5, 8, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 130, 130, 0.04),
    0 0 28px rgba(255, 54, 54, 0.12);
}

.news-alert-copy {
  min-width: 0;
  align-self: center;
}

.news-alert-kicker {
  margin: 0 0 10px;
  color: #ff8c8c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-alert-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: #fff1f1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-alert-copy p:last-child {
  margin-bottom: 0;
  color: #f3d7d7;
  line-height: 1.75;
}

.news-alert-media {
  min-width: 0;
}

.news-alert-media img {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(255, 72, 72, 0.16);
}

.news-media-showcase {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.news-media-showcase .news-mini-slider {
  margin-top: 0;
}

.news-media-showcase .news-mini-slider-frame {
  background: rgba(4, 3, 10, 0.92);
}

.news-media-showcase .news-mini-slider-frame img {
  object-fit: contain;
}

.news-image-caption-card {
  display: grid;
  gap: 10px;
  width: min(100%, 790px);
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(201, 153, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 10, 29, 0.92), rgba(10, 6, 19, 0.98));
}

.news-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 900px);
  margin: 10px auto;
}

.news-screenshot-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-screenshot-grid .news-image-caption-card {
  width: 100%;
  margin: 0;
}

.news-screenshot-grid .news-image-caption-frame img {
  max-height: 260px;
}

.news-image-caption-compact {
  width: min(100%, 420px);
}

.news-image-caption-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(4, 3, 10, 0.92);
}

.news-image-caption-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.news-image-caption-card figcaption {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.news-photo-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 980px);
  margin: 24px auto 0;
}

.news-photo-placeholder-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(201, 153, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 10, 29, 0.9), rgba(10, 6, 19, 0.96));
}

.news-photo-placeholder-frame {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 150px;
  padding: 16px;
  text-align: center;
  border: 1px dashed rgba(255, 214, 107, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 214, 107, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(4, 3, 10, 0.92);
}

.news-photo-placeholder-frame strong {
  color: #ffd17b;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.news-photo-placeholder-frame span,
.news-photo-placeholder-card figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.news-photo-placeholder-card figcaption {
  margin: 0;
  text-align: center;
}

.news-inline-video {
  margin-top: 18px;
  border: 1px solid rgba(201, 153, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 10, 29, 0.9), rgba(10, 6, 19, 0.96));
  overflow: hidden;
}

.news-inline-video-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-inline-video-summary::-webkit-details-marker {
  display: none;
}

.news-inline-video-toggle::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(201, 153, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.news-inline-video[open] .news-inline-video-toggle::before {
  content: '-';
}

.news-inline-video-body {
  padding: 0 18px 18px;
}

.news-inline-video-body video {
  width: min(100%, 320px);
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 3, 10, 0.92);
}

.news-video-placeholder {
  display: grid;
  place-items: center;
  gap: 6px;
  width: min(100%, 360px);
  min-height: 180px;
  margin: 0 auto;
  padding: 18px;
  text-align: center;
  border: 1px dashed rgba(255, 214, 107, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 214, 107, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(4, 3, 10, 0.92);
}

.news-video-placeholder strong {
  color: #ffd17b;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-video-placeholder span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.news-reactions {
  display: none;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.news-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 153, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8def8;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.news-reaction-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 107, 0.28);
}

.news-reaction-btn.active[data-reaction="up"] {
  background: linear-gradient(90deg, rgba(89, 183, 116, 0.22), rgba(255, 255, 255, 0.04));
  border-color: rgba(89, 183, 116, 0.4);
  color: #d6f5dd;
}

.news-reaction-btn.active[data-reaction="down"] {
  background: linear-gradient(90deg, rgba(197, 79, 91, 0.22), rgba(255, 255, 255, 0.04));
  border-color: rgba(197, 79, 91, 0.38);
  color: #ffd7db;
}

.news-reaction-icon {
  font-size: 1rem;
  line-height: 1;
}

.news-reaction-label {
  font-size: 0.88rem;
  font-weight: 700;
}

.news-reaction-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.84rem;
  font-weight: 700;
}

.news-older-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.news-older-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid rgba(201, 153, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24, 12, 40, 0.92), rgba(12, 7, 22, 0.96));
  color: #e8def8;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.news-older-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 107, 0.28);
}

@media (max-width: 980px) {
  .news-update-summary {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .news-feature-layout {
    grid-template-columns: 1fr;
  }

  .news-alert-frame {
    grid-template-columns: 1fr;
  }

  .news-mini-slider {
    margin-top: 0;
  }

  .news-media-showcase {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .news-update-summary {
    padding: 18px;
  }

  .news-update-body {
    padding: 0 18px 18px;
  }

  .news-alert-frame,
  .news-media-showcase {
    padding: 14px;
  }

  .news-screenshot-grid,
  .news-screenshot-grid-3,
  .news-photo-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .news-centered-content {
    gap: 26px;
  }

  .news-photo-slot {
    min-height: 160px;
  }

}

.news-hub-intro {
  width: min(100%, 920px);
  margin: 0 auto 30px;
  padding: 30px 28px;
  text-align: center;
  border: 1px solid rgba(255, 214, 107, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 214, 107, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(16, 10, 29, 0.94), rgba(10, 6, 19, 0.98));
  box-shadow: 0 22px 54px rgba(8, 4, 15, 0.36);
}

.news-hub-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-hub-intro p:last-child {
  width: min(100%, 680px);
  margin: 0 auto;
  color: #d8c9ea;
  line-height: 1.7;
}

.news-detail-toolbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.news-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 214, 107, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 214, 107, 0.14), rgba(255, 255, 255, 0.04));
  color: #ffe8a3;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.news-detail-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-update-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 214, 107, 0.28);
  border-radius: 999px;
  background: rgba(255, 214, 107, 0.08);
  color: #ffe4a0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(4, 3, 10, 0.8);
  aspect-ratio: 16 / 9;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.news-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 4, 14, 0.72));
  pointer-events: none;
}

.news-page:not(.news-detail-mode) .news-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.news-page:not(.news-detail-mode) .news-update {
  position: relative;
  min-height: 100%;
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-page:not(.news-detail-mode) .news-update:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 107, 0.32);
  box-shadow: 0 22px 58px rgba(8, 4, 15, 0.48);
}

.news-page:not(.news-detail-mode) .news-update:hover .news-card-media img {
  transform: scale(1.035);
}

.news-page:not(.news-detail-mode) .news-update-summary {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0;
  padding: 0;
  cursor: pointer;
}

.news-page:not(.news-detail-mode) .news-update-head {
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px 0;
}

.news-page:not(.news-detail-mode) .news-update-head time {
  margin-left: auto;
  font-size: 0.82rem;
  white-space: nowrap;
}

.news-page:not(.news-detail-mode) .news-badge {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.news-page:not(.news-detail-mode) .news-update-title {
  display: flex;
  min-height: 176px;
  flex-direction: column;
  padding: 12px 20px 8px;
}

.news-page:not(.news-detail-mode) .news-update-title h2 {
  margin: 0 0 9px;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 1.2;
}

.news-page:not(.news-detail-mode) .news-update-title p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-page:not(.news-detail-mode) .news-new-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.news-page:not(.news-detail-mode) .news-collapse-button {
  align-self: flex-start;
  min-height: 40px;
  margin: auto 20px 20px;
  padding: 9px 14px;
  border-color: rgba(255, 214, 107, 0.24);
  background: rgba(255, 214, 107, 0.08);
  color: #ffe2a0;
}

.news-page:not(.news-detail-mode) .news-update[open] .news-collapse-button {
  border-color: rgba(255, 214, 107, 0.24);
  background: rgba(255, 214, 107, 0.08);
}

.news-page:not(.news-detail-mode) .news-collapse-button::before,
.news-page:not(.news-detail-mode) .news-update[open] .news-collapse-button::before,
.news-page:not(.news-detail-mode) .news-update:not([open]) .news-collapse-button::before {
  content: 'Open update';
}

.news-page:not(.news-detail-mode) .news-update-body {
  display: none;
}

.news-page:not(.news-detail-mode) .news-older-wrap {
  margin-top: 28px;
}

.news-detail-mode .news-hub-intro {
  display: none;
}

.news-detail-mode .news-detail-toolbar {
  display: flex;
}

.news-detail-mode .news-stack {
  grid-template-columns: 1fr;
}

.news-detail-mode .news-update {
  display: none;
}

.news-detail-mode .news-update.is-active-update {
  display: block;
}

.news-detail-mode .news-update.news-hidden-update.is-active-update {
  display: block;
}

.news-detail-mode .news-card-media,
.news-detail-mode .news-new-badge,
.news-detail-mode .news-collapse-button {
  display: none;
}

.news-detail-mode .news-update-summary {
  grid-template-columns: minmax(0, 1fr);
  cursor: default;
}

.news-detail-mode .news-update-head {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.news-detail-mode .news-update-title h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

.news-detail-mode .news-older-wrap {
  display: none;
}

@media (max-width: 980px) {
  .news-page:not(.news-detail-mode) .news-stack {
    grid-template-columns: 1fr;
  }

  .news-page:not(.news-detail-mode) .news-update-title {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .news-hub-intro {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .news-detail-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-page:not(.news-detail-mode) .news-update-summary {
    padding: 0;
  }

  .news-page:not(.news-detail-mode) .news-update-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-page:not(.news-detail-mode) .news-update-head time {
    margin-left: 0;
    white-space: normal;
  }

  .news-page:not(.news-detail-mode) .news-collapse-button {
    margin: 8px 18px 18px;
  }

  .news-detail-mode .news-update-summary {
    padding: 18px;
  }
}

.news-page:not(.news-detail-mode) .news-stack {
  grid-template-columns: 1fr;
  gap: 12px;
}

.news-page:not(.news-detail-mode) .news-card-media {
  display: none !important;
}

.news-page:not(.news-detail-mode) .news-update {
  min-height: 0;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(8, 4, 15, 0.32);
}

.news-page:not(.news-detail-mode) .news-update-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px 18px;
}

.news-page:not(.news-detail-mode) .news-update-head {
  display: contents;
  padding: 0;
}

.news-page:not(.news-detail-mode) .news-update-number,
.news-page:not(.news-detail-mode) .news-new-badge {
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
}

.news-page:not(.news-detail-mode) .news-update-number {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  border-color: rgba(255, 214, 107, 0.3);
  background: rgba(255, 214, 107, 0.09);
}

.news-badge {
  display: none;
}

.news-page:not(.news-detail-mode) .news-update-title {
  grid-column: 2;
  grid-row: 1;
  display: block;
  min-height: 0;
  padding: 0;
}

.news-page:not(.news-detail-mode) .news-update-title h2 {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.news-page:not(.news-detail-mode) .news-update-title p {
  -webkit-line-clamp: 1;
  line-height: 1.45;
}

.news-page:not(.news-detail-mode) .news-update-head time {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  margin-left: 0;
  color: #d7c9e8;
  font-size: 0.86rem;
  white-space: nowrap;
}

.news-page:not(.news-detail-mode) .news-new-badge {
  grid-column: 3;
  grid-row: 1;
  position: static;
  justify-self: end;
  border-color: rgba(255, 166, 0, 0.34);
  background: rgba(255, 166, 0, 0.13);
}

.news-update:not(.news-latest-update) .news-new-badge,
.news-new-badge[hidden] {
  display: none !important;
}

.news-page:not(.news-detail-mode) .news-collapse-button {
  display: none;
}

.news-page:not(.news-detail-mode) .news-older-wrap {
  display: flex;
}

@media (max-width: 820px) {
  .news-page:not(.news-detail-mode) .news-update-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .news-page:not(.news-detail-mode) .news-update-number {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .news-page:not(.news-detail-mode) .news-update-title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .news-page:not(.news-detail-mode) .news-update-head time {
    grid-column: 2 / 4;
    grid-row: 3;
    justify-self: end;
  }

  .news-page:not(.news-detail-mode) .news-new-badge {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .news-page:not(.news-detail-mode) .news-update-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .news-page:not(.news-detail-mode) .news-update-title {
    grid-column: 1;
    justify-self: start;
  }

  .news-page:not(.news-detail-mode) .news-update-number {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .news-page:not(.news-detail-mode) .news-update-title {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .news-page:not(.news-detail-mode) .news-update-head time {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    white-space: normal;
  }

  .news-page:not(.news-detail-mode) .news-new-badge {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }
}
