.updates-icon-button[data-release-notification-link] {
  position: relative;
  overflow: visible;
}

.release-notification-badge {
  position: absolute;
  z-index: 2;
  top: 2px;
  right: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #17181c;
  border-radius: 999px;
  background: #ff3b30;
  box-shadow: 0 2px 7px rgb(0 0 0 / 35%);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  transform: translate(38%, -34%);
  white-space: nowrap;
}

.release-notification-badge[hidden] {
  display: none !important;
}

.release-notification-center {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 44px) 72px;
  width: min(1240px, 100%);
}

.release-notification-center-head {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.release-notification-center-head h1,
.release-notification-center-head p {
  margin: 0;
}

.release-notification-center-head h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
}

.release-notification-center-head > p:last-child,
.release-notification-releases .section-head p {
  color: rgb(217 225 230 / 72%);
  line-height: 1.55;
}

.release-notification-summary {
  align-items: center;
  background: linear-gradient(135deg, rgb(22 44 51 / 94%), rgb(18 24 35 / 96%));
  border: 1px solid rgb(96 215 201 / 28%);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 20px 22px;
}

.release-notification-summary-icon {
  color: rgb(151 238 227 / 90%);
  font-size: 30px;
  line-height: 1;
}

.has-unread-releases .release-notification-summary-icon {
  color: #ff5b53;
  filter: drop-shadow(0 0 8px rgb(255 59 48 / 46%));
}

.release-notification-summary strong {
  display: block;
  font-size: clamp(19px, 2vw, 25px);
}

.release-notification-summary p {
  color: rgb(217 225 230 / 68%);
  margin: 4px 0 0;
}

.release-notification-summary > a {
  border: 1px solid rgb(151 238 227 / 32%);
  border-radius: 999px;
  color: #97eee3;
  font-weight: 800;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
}

.release-notification-releases {
  display: grid;
  gap: 16px;
}

.release-notification-releases .section-head > div {
  display: grid;
  gap: 5px;
}

.release-notification-releases .section-head h2,
.release-notification-releases .section-head p {
  margin: 0;
}

.release-notification-release-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.release-notification-release-list .game-release-card > a {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}

.release-notification-release-list .feed-thumb {
  aspect-ratio: 358 / 492;
  min-height: 0;
  width: 100%;
}

.release-notification-release-list .feed-copy h2 {
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1100px) {
  .release-notification-release-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .release-notification-badge {
    top: 3px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding-inline: 4px;
    font-size: 10px;
    transform: translate(34%, -30%);
  }

  .release-notification-center {
    gap: 22px;
    padding: 24px 14px 52px;
  }

  .release-notification-summary {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .release-notification-summary > a {
    grid-column: 1 / -1;
  }

  .release-notification-release-list {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (forced-colors: active) {
  .release-notification-badge {
    border-color: Canvas;
    background: Highlight;
    color: HighlightText;
    box-shadow: none;
    forced-color-adjust: auto;
  }
}
