:root {
  --ink: #111111;
  --muted: #777777;
  --line: #e2e2e2;
  --lime: #dfff5a;
  --black: #151515;
  --green: #009a75;
  --blue: #1683c7;
  --orange: #c77900;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  height: 100vh;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 15%, rgba(201, 245, 225, 0.52), transparent 18%),
    radial-gradient(circle at 88% 40%, rgba(217, 241, 255, 0.8), transparent 20%),
    linear-gradient(180deg, #ffffff 0, #ffffff 220px, #fbfbfb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.launch-bar {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  color: #111111;
  background: var(--lime);
  font-size: 14px;
  font-weight: 700;
}

.launch-bar span {
  justify-self: center;
}

.launch-bar button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.app-nav {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 129px 1fr auto;
  align-items: center;
  height: 58px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e4e4e4;
}

.brand,
.main-nav,
.nav-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 16px;
}

.brand-badge {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #151515;
  background: #ffe266;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.main-nav {
  gap: 20px;
  color: #666666;
  font-size: 14px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: 6px;
}

.main-nav a.is-active {
  color: #222222;
  background: #f4f4f4;
  font-weight: 800;
}

.nav-actions {
  gap: 18px;
  font-size: 13px;
}

.nav-actions button {
  border: 0;
  background: transparent;
  color: #666666;
  cursor: pointer;
}

.login-button {
  display: grid;
  min-width: 60px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: #151515;
  border-radius: 6px;
  font-weight: 800;
}

.updates-page {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 0;
  overflow-y: auto;
  padding: 60px max(24px, calc((100% - 980px) / 2)) 88px;
}

.updates-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}

.updates-head h1 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: 0;
}

.updates-head p {
  margin: 0;
  color: #6f7782;
  font-size: 16px;
}

.category-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 2px;
  color: #666666;
  font-size: 13px;
  white-space: nowrap;
}

.category-filter i {
  display: block;
  width: 28px;
  height: 1px;
  background: #d8d8d8;
}

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.chip {
  background: #ffffff;
  border: 1px solid currentColor;
  cursor: pointer;
}

.chip b,
.tag b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.chip-green,
.tag-green {
  color: var(--green);
  background: #dcfff5;
}

.chip-blue,
.tag-blue {
  color: var(--blue);
  background: #e6f5ff;
}

.chip-orange,
.tag-orange {
  color: var(--orange);
  background: #fff2dc;
}

.chip:not(.is-active) {
  opacity: 0.95;
}

.timeline {
  position: relative;
  display: grid;
  gap: 40px;
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
}

.timeline-row.is-hidden {
  display: none;
}

.timeline time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 27px;
  margin-top: 0;
  color: #777777;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 13px;
}

.update-card {
  min-height: 96px;
  padding: 20px 22px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.update-card h2 {
  display: inline-block;
  margin: 0 0 0 12px;
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.5;
}

.update-card p {
  margin: 10px 0 0;
  color: #747474;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .app-nav {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 58px;
  }

  .main-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 12px;
  }

  .updates-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .launch-bar {
    height: auto;
    min-height: 42px;
    font-size: 12px;
  }

  .updates-page {
    width: 100%;
    padding: 36px 14px 72px;
  }

  .updates-head h1 {
    font-size: 30px;
  }

  .category-filter {
    flex-wrap: wrap;
  }

  .category-filter i {
    display: none;
  }

  .timeline {
    gap: 28px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 18px;
  }

  .update-card h2 {
    display: block;
    margin: 10px 0 0;
  }
}
