:root {
  color-scheme: dark;
  --bg: #050607;
  --panel: #0b0d10;
  --panel-strong: #101318;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f7f7f4;
  --muted: #9ba3af;
  --quiet: #6f7783;
  --green: #82f7c6;
  --yellow: #f7d774;
  --violet: #c3a6ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, .42);
  --font-sans: "Inter", "Zen Kaku Gothic New", "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-sans);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .01) 1px, transparent 1px),
    var(--bg);
  background-size: 58px 58px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: 0; }

.release-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 16px clamp(16px, 3vw, 34px) 58px;
}

.release-topbar {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.release-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.release-brand::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 22px rgba(255, 255, 255, .22);
}

.release-topbar nav,
.release-hero-actions,
.filter-tabs,
.update-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.release-topbar nav a,
.release-hero-actions a,
.filter-tabs button,
.update-links a {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 510;
  white-space: nowrap;
}

.release-topbar nav a {
  padding: 0 11px;
  color: var(--muted);
  font-size: 12px;
}

.release-topbar nav a:hover,
.release-topbar nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.release-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: 340px;
  padding: clamp(44px, 7vw, 78px) 0 34px;
}

.release-hero-copy {
  display: grid;
  gap: 15px;
  max-width: 760px;
}

.release-hero-copy p,
.release-head p,
.release-filter-block p,
.release-search-block p,
.release-count-block p {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
}

.release-hero-copy h1 {
  margin: 0;
  max-width: 520px;
  color: #fff;
  font-size: 48px;
  line-height: 48px;
  font-weight: 510;
  letter-spacing: 0;
}

.release-hero-copy > span {
  max-width: 580px;
  color: #cfd4dc;
  font-size: 14px;
  font-weight: 510;
  line-height: 1.9;
}

.release-hero-actions a {
  border: 1px solid var(--line);
  padding: 0 12px;
  color: #e8ebf0;
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
}

.release-hero-actions a:first-child {
  color: #050607;
  background: #f6f4ed;
}

.release-latest {
  display: grid;
  gap: 14px;
  align-content: end;
}

.release-latest img {
  width: 70px;
  height: 70px;
  justify-self: end;
  filter: invert(1);
  opacity: .82;
}

.summary-card {
  display: grid;
  gap: 8px;
  min-height: 162px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(16, 19, 24, .86);
  box-shadow: var(--shadow);
}

.summary-card span {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.summary-card strong {
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 510;
}

.summary-card small {
  color: #b5bdc8;
  font-size: 12px;
  font-weight: 510;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.release-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.summary-stats {
  display: grid;
  gap: 8px;
}

.summary-stats span {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.summary-stats b {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.summary-stats small {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.release-filter-block {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.release-search-block {
  display: grid;
  gap: 10px;
}

.release-count-block {
  display: grid;
  gap: 10px;
}

.filter-tabs {
  align-items: stretch;
  flex-direction: column;
}

.filter-tabs button {
  width: 100%;
  border: 1px solid transparent;
  padding: 0 11px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.filter-tabs button:hover,
.filter-tabs button.is-active {
  border-color: var(--line);
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.release-search {
  position: relative;
  display: block;
}

.release-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.release-search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--quiet);
  border-radius: 999px;
  transform: translateY(-56%);
  pointer-events: none;
}

.release-search::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 22px;
  width: 6px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--quiet);
  transform: translateY(5px) rotate(45deg);
  pointer-events: none;
}

.release-search input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px 0 34px;
  color: #fff;
  background: rgba(255, 255, 255, .045);
  font: inherit;
  font-size: 12px;
  font-weight: 510;
  letter-spacing: 0;
  outline: none;
}

.release-search input::placeholder {
  color: var(--quiet);
}

.release-search input:focus {
  border-color: rgba(130, 247, 198, .42);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 0 0 3px rgba(130, 247, 198, .08);
}

.release-panel {
  min-width: 0;
}

.release-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.release-head h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 510;
}

.release-head > span {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.release-list {
  position: relative;
  display: grid;
  gap: 22px;
}

.release-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 124px;
  width: 1px;
  background: var(--line);
}

.release-entry {
  --entry-accent: var(--green);
  --entry-accent-muted: rgba(130, 247, 198, .28);
  --entry-accent-glow: rgba(130, 247, 198, .2);
  position: relative;
  display: grid;
  grid-template-columns: 104px 12px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.release-entry.is-improvement-type {
  --entry-accent: var(--yellow);
  --entry-accent-muted: rgba(247, 215, 116, .28);
  --entry-accent-glow: rgba(247, 215, 116, .18);
}

.release-entry.is-display-type {
  --entry-accent: var(--violet);
  --entry-accent-muted: rgba(195, 166, 255, .3);
  --entry-accent-glow: rgba(195, 166, 255, .18);
}

.release-entry-date {
  position: sticky;
  top: 74px;
  z-index: 2;
  display: grid;
  justify-items: end;
  gap: 5px;
  padding-top: 2px;
  text-align: right;
}

.release-entry-date time,
.release-entry-date span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 6, 7, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 510;
}

.release-entry-date time {
  padding: 0 8px;
  color: #d9dde4;
}

.release-entry-date span {
  padding: 0 9px;
  color: var(--entry-accent);
  border-color: var(--entry-accent-muted);
}

.release-entry-marker {
  position: sticky;
  top: 84px;
  z-index: 3;
  justify-self: center;
  width: 5px;
  height: 5px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .26);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.release-entry.is-read .release-entry-marker {
  background: var(--entry-accent-muted);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04);
  opacity: .78;
}

.release-entry.is-current .release-entry-marker {
  background: var(--entry-accent);
  box-shadow: 0 0 0 2px var(--entry-accent-muted), 0 0 10px var(--entry-accent-glow);
  opacity: 1;
}

.release-entry.is-current .release-entry-date time,
.release-entry.is-current .release-entry-date span {
  border-color: var(--entry-accent-muted);
  color: #fff;
  background: rgba(16, 19, 24, .92);
}

.update-item {
  display: grid;
  gap: 11px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 13, 16, .92);
}

.update-item.is-featured {
  border-color: rgba(130, 247, 198, .32);
  background: #101318;
  box-shadow: var(--shadow);
}

.update-item h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.22;
  font-weight: 510;
}

.update-item:not(.is-featured) h3 {
  font-size: 19px;
}

.update-item p {
  margin: 0;
  color: #c8ced8;
  font-size: 13px;
}

.release-media {
  margin: 2px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07080a;
}

.release-media-slider {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 2px 0 0;
}

.release-media-slider-head,
.release-media-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.release-media-slider-head {
  color: var(--quiet);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.release-media-track {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.release-media-track::-webkit-scrollbar {
  display: none;
}

.release-media-slide {
  margin: 0;
  scroll-snap-align: start;
}

.release-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.release-media.is-partial img,
.release-media.is-mockup img {
  object-fit: contain;
  background: #06080b;
}

.release-media.is-partial img {
  max-height: 460px;
}

.release-media picture {
  display: block;
}

.release-media figcaption {
  margin: 0;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11px;
  font-weight: 510;
}

.release-media-controls {
  justify-content: center;
  padding: 0 2px;
}

.release-media-nav {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
}

.release-media-nav:disabled {
  cursor: default;
  opacity: .34;
}

.release-media-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.release-media-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
}

.release-media-dots button.is-active {
  width: 18px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(130, 247, 198, .28);
}

.release-copy-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.release-copy-note {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.release-copy-note span {
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.release-copy-note p {
  color: #d8dde5;
  font-size: 12px;
  line-height: 1.65;
}

.release-process {
  display: grid;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: rgba(130, 247, 198, .035);
}

.release-process > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
}

.release-process ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
  color: #aeb7c3;
}

.release-process li {
  padding-left: 2px;
  font-size: 12px;
  line-height: 1.65;
}

.update-item ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.15em;
  color: #aab2bf;
}

.update-links {
  flex-wrap: wrap;
}

.update-links a {
  border: 1px solid var(--line);
  padding: 0 12px;
  color: #050607;
  background: #f6f4ed;
  font-size: 12px;
}

.update-links a + a {
  color: #e8ebf0;
  background: rgba(255, 255, 255, .06);
}

.release-load-more {
  display: flex;
  justify-content: center;
  min-height: 52px;
  padding-top: 14px;
}

.release-load-more[hidden] {
  display: none;
}

.release-load-more button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: #e8ebf0;
  background: rgba(255, 255, 255, .055);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 510;
}

.release-load-more button:hover {
  border-color: rgba(130, 247, 198, .34);
  color: #fff;
  background: rgba(255, 255, 255, .075);
}

.is-loading {
  min-height: 150px;
  justify-content: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .release-hero,
  .release-layout {
    grid-template-columns: 1fr;
  }

  .release-hero {
    min-height: 0;
    padding-top: 38px;
  }

  .release-latest img {
    justify-self: start;
  }

  .release-sidebar {
    position: static;
  }

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

  .filter-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-tabs button {
    width: auto;
  }
}

@media (max-width: 760px) {
  .release-list::before {
    left: 6px;
  }

  .release-entry {
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .release-entry-date {
    grid-column: 2;
    position: static;
    justify-items: start;
    text-align: left;
  }

  .release-entry-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 84px;
  }

  .update-item {
    grid-column: 2;
  }

  .release-copy-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .release-shell {
    padding: 14px 12px 42px;
  }

  .release-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 12px;
  }

  .release-topbar nav,
  .release-hero-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .release-hero-copy h1 {
    font-size: 34px;
    line-height: 34px;
    font-weight: 510;
    letter-spacing: 0;
  }

  .summary-stats {
    grid-template-columns: 1fr;
  }

  .release-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .update-item {
    padding: 15px;
  }
}
