@font-face {
  font-family: WhatsNewPixel;
  src: url("../../assets/fonts/pixel-operator.ttf");
}
@font-face {
  font-family: WhatsNewPixel;
  src: url("../../assets/fonts/pixel-operator-bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: WhatsNewHeading;
  src: url("../../assets/fonts/upheaval.ttf");
}
#whats-new-panel {
  align-items: stretch;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, #00181344 3px 4px),
    #020807;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: WhatsNewPixel, monospace;
}
#whats-new-panel.visible {
  display: flex;
}
#whats-new-panel * {
  box-sizing: border-box;
}
.whats-new-card {
  width: min(100%, 960px);
  max-width: none;
  max-height: none;
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: #03100f;
  border: 2px solid #00dbea;
  box-shadow:
    inset 0 0 32px #002329,
    6px 6px #000;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.whats-new-marquee {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border-bottom: 2px solid #18545a;
  background: #041b1b;
}
.whats-new-marquee img {
  width: 76px;
  height: 58px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(2px 2px #000);
}
.whats-new-marquee .menu-kicker {
  display: block;
  color: #00efff;
  font:
    700 13px WhatsNewPixel,
    monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.whats-new-card .whats-new-marquee h2 {
  margin: 4px 0 0;
  color: #efffff;
  font:
    40px/1 WhatsNewHeading,
    monospace;
  letter-spacing: 2px;
  text-align: left;
  text-shadow: 3px 3px #007985;
}
.whats-new-signal {
  display: flex;
  gap: 4px;
  align-items: end;
}
.whats-new-signal i {
  display: block;
  width: 7px;
  height: 14px;
  background: #17616a;
}
.whats-new-signal i:nth-child(2) {
  height: 25px;
}
.whats-new-signal i:nth-child(3) {
  height: 36px;
  background: #00efff;
  box-shadow: 0 0 10px #00efff88;
}
#whats-new-current {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 15px 10px;
  padding: 8px 10px;
  border-left: 3px solid #ffcf40;
  background: #181a0b;
  color: #99b6b7;
  font:
    700 13px WhatsNewPixel,
    monospace;
  letter-spacing: 1px;
  text-align: left;
}
#whats-new-current span {
  color: #ffcf40;
}
#whats-new-current strong {
  color: #efffff;
  font-weight: 700;
}
.whats-new-screen {
  flex: 1;
  min-height: 0;
  margin: 0 15px;
  border: 1px solid #21484c;
  background: #010908;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #247986 #031012;
}
#whats-new-releases {
  padding: 12px;
}
.whats-new-release {
  padding: 0;
}
.whats-new-release + .whats-new-release {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #21484c;
}
.whats-new-release h3 {
  margin: 0;
  color: #efffff;
  font:
    29px/1 WhatsNewHeading,
    monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.whats-new-release-meta {
  margin: 5px 0 12px;
  color: #00efff;
  font:
    13px WhatsNewPixel,
    monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.whats-new-headlines {
  display: grid;
  gap: 10px;
}
.whats-new-headline {
  position: relative;
  padding: 11px 11px 11px 58px;
  border: 1px solid #315357;
  border-left: 4px solid #00efff;
  background: #071819;
  box-shadow: 3px 3px #000;
  min-height: 72px;
}
.whats-new-headline::before {
  content: "!";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #001313;
  background: #00efff;
  box-shadow: 3px 3px #000;
  font:
    24px WhatsNewHeading,
    monospace;
}
.whats-new-headline[data-channel="rivals"] {
  border-left-color: #ff315f;
}
.whats-new-headline[data-channel="rivals"]::before {
  content: "VS";
  color: #fff;
  background: #ff315f;
  font-size: 16px;
}
.whats-new-headline[data-channel="alerts"]::before {
  content: "!!!";
  font:
    12px WhatsNewPixel,
    monospace;
}
.whats-new-headline[data-channel="home-cabinet"] {
  border-left-color: #ffcf40;
}
.whats-new-headline[data-channel="home-cabinet"]::before {
  content: "⌂";
  background: #ffcf40;
  font-size: 22px;
}
.whats-new-headline + .whats-new-headline {
  margin-top: 0;
  padding-top: 11px;
  border-top: 1px solid #315357;
}
.whats-new-headline h4 {
  margin: 0 0 6px;
  color: #00efff;
  font:
    20px WhatsNewHeading,
    monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.whats-new-headline[data-channel="rivals"] h4 {
  color: #ff6e91;
}
.whats-new-headline[data-channel="home-cabinet"] h4 {
  color: #ffcf40;
}
.whats-new-release ul {
  margin: 0;
  padding-left: 17px;
  color: #c5d8d8;
  font:
    16px/1.3 WhatsNewPixel,
    monospace;
}
.whats-new-release-artwork {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 14px;
}
.whats-new-release-artwork img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
}
.whats-new-release li + li {
  margin-top: 5px;
}
.whats-new-release li::marker {
  color: #00efff;
}
.whats-new-social {
  flex: 0 0 auto;
  margin: 12px 15px 0;
  padding-top: 10px;
  border-top: 1px solid #21484c;
}
.whats-new-social-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}
.whats-new-social-heading h3 {
  margin: 0;
  color: #00efff;
  font: 700 16px WhatsNewPixel, monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.whats-new-social-heading span {
  color: #c5d8d8;
  font: 14px WhatsNewPixel, monospace;
}
.whats-new-social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  max-width: 420px;
}
.whats-new-social-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 4px;
  border: 1px solid #326269;
  background: #073033;
  box-shadow: inset 0 -3px #000;
  color: #00efff;
  font: 700 16px WhatsNewPixel, monospace;
  text-decoration: none;
}
.whats-new-social-links img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}
.whats-new-social-links a:hover {
  border-color: #00efff;
  color: #efffff;
}
.whats-new-social-links a:active {
  transform: translateY(2px);
}
.whats-new-links-hint {
  margin: 8px 0 0;
  color: #99b6b7;
  font: 14px/1.3 WhatsNewPixel, monospace;
}
#whats-new-older-toggle {
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  border: 1px solid #326269;
  border-radius: 0;
  background: #031314;
  color: #9dd2d5;
  box-shadow: inset 0 -3px #000;
  cursor: pointer;
  font:
    700 16px WhatsNewPixel,
    monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#whats-new-older-toggle[aria-expanded="true"] {
  background: #073033;
  color: #00efff;
}
.whats-new-archive {
  margin-top: 10px;
  border-top: 1px solid #21484c;
}
.whats-new-archive[hidden] {
  display: none;
}
.whats-new-archive details {
  border-bottom: 1px solid #21484c;
}
.whats-new-archive summary {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 4px;
  color: #c8dddd;
  cursor: pointer;
  font:
    16px WhatsNewPixel,
    monospace;
  list-style: none;
}
.whats-new-archive summary::-webkit-details-marker {
  display: none;
}
.whats-new-archive summary::before {
  content: "+";
  color: #00efff;
  font:
    22px WhatsNewHeading,
    monospace;
}
.whats-new-archive details[open] summary::before {
  content: "−";
}
.whats-new-archive time {
  color: #6e999c;
  font-size: 13px;
}
.whats-new-archive .whats-new-release {
  padding: 0 4px 13px 26px;
}
.whats-new-archive .whats-new-release h3,
.whats-new-archive .whats-new-release-meta {
  display: none;
}
.whats-new-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 15px 13px;
  color: #62898c;
  font:
    12px WhatsNewPixel,
    monospace;
  letter-spacing: 1px;
}
.whats-new-footer #whats-new-close {
  width: auto;
  min-width: 190px;
  min-height: 46px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid #8effff;
  border-radius: 0;
  background: #00dcea;
  color: #001315;
  box-shadow: inset 0 -3px #00747b;
  cursor: pointer;
  font:
    700 16px WhatsNewPixel,
    monospace;
  letter-spacing: 1px;
}
.whats-new-footer button:active,
#whats-new-older-toggle:active {
  transform: translateY(2px);
}
.whats-new-card button:focus-visible,
.whats-new-card a:focus-visible,
.whats-new-card summary:focus-visible {
  outline: 3px solid #ffcf40;
  outline-offset: 2px;
}
@media (min-width: 700px) {
  #whats-new-panel {
    padding: 26px;
  }
  .whats-new-marquee {
    padding: 14px 22px;
  }
  .whats-new-headlines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .whats-new-headline,
  .whats-new-headline + .whats-new-headline {
    padding: 58px 12px 12px;
    min-height: 180px;
  }
  .whats-new-headline::before {
    left: 12px;
    top: 12px;
  }
  .whats-new-screen {
    margin-inline: 22px;
  }
  .whats-new-social {
    margin-inline: 22px;
  }
  #whats-new-current {
    margin-inline: 22px;
  }
  .whats-new-footer {
    padding-inline: 22px;
  }
}
@media (max-width: 420px) {
  .whats-new-marquee {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 9px 10px;
  }
  .whats-new-marquee img {
    width: 56px;
    height: 46px;
  }
  .whats-new-card .whats-new-marquee h2 {
    font-size: 30px;
  }
  .whats-new-marquee .menu-kicker {
    font-size: 11px;
    letter-spacing: 1px;
  }
  #whats-new-current {
    margin: 9px 10px 8px;
  }
  .whats-new-screen {
    margin-inline: 10px;
  }
  .whats-new-social {
    margin: 9px 10px 0;
    padding-top: 8px;
  }
  #whats-new-releases {
    padding: 9px;
  }
  .whats-new-headline,
  .whats-new-headline + .whats-new-headline {
    padding: 9px 9px 9px 50px;
  }
  .whats-new-headline::before {
    left: 9px;
    top: 10px;
  }
  .whats-new-release h3 {
    font-size: 24px;
  }
  .whats-new-footer {
    padding: 8px 10px max(9px, env(safe-area-inset-bottom));
  }
  .whats-new-footer span {
    display: none;
  }
  .whats-new-footer #whats-new-close {
    width: 100%;
    min-width: 0;
  }
}
@media (max-height: 700px) {
  .whats-new-marquee {
    padding-block: 7px;
  }
  .whats-new-marquee img {
    height: 40px;
  }
  .whats-new-card .whats-new-marquee h2 {
    font-size: 28px;
  }
  #whats-new-current {
    padding-block: 6px;
  }
  .whats-new-footer button {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whats-new-signal i {
    box-shadow: none;
  }
}
