.nav-updates-link .nav-item-icon {
  color: #7dd3fc;
}

.nav-update-dot {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .08), 0 0 16px rgba(56, 189, 248, .8);
}

.nav-updates-link.active .nav-update-dot,
.nav-updates-link[aria-current="page"] .nav-update-dot {
  background: #f8fafc;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .15), 0 0 22px rgba(56, 189, 248, 1);
}

.updates-view {
  --updates-cyan: #38bdf8;
  --updates-blue: #2563eb;
  --updates-violet: #8b5cf6;
  --updates-amber: #f59e0b;
  --updates-green: #34d399;
  --updates-red: #fb7185;
  width: 100%;
}

.updates-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.updates-hero {
  position: relative;
  min-height: 286px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(70, 126, 198, .32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 22%, rgba(37, 99, 235, .3), transparent 28%),
    radial-gradient(circle at 18% 115%, rgba(139, 92, 246, .18), transparent 38%),
    linear-gradient(135deg, rgba(10, 24, 43, .98), rgba(5, 13, 27, .99));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .04);
}

.updates-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image:
    linear-gradient(rgba(88, 151, 218, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 151, 218, .1) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.updates-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--updates-cyan), var(--updates-violet), transparent);
  opacity: .78;
}

.updates-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.updates-hero-copy .eyebrow {
  margin: 0 0 10px;
  color: var(--updates-cyan);
  letter-spacing: .14em;
}

.updates-hero h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.045em;
}

.updates-hero h1 span {
  display: block;
  margin-top: 10px;
  color: #9aacc4;
  font-size: clamp(19px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
}

.updates-hero-copy > p:not(.eyebrow) {
  max-width: 740px;
  margin: 20px 0 0;
  color: #aab9cd;
  font-size: 14px;
  line-height: 1.7;
}

.updates-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.updates-hero-meta > span {
  min-width: 155px;
  display: grid;
  gap: 4px;
  padding: 11px 14px;
  border: 1px solid rgba(96, 143, 202, .22);
  border-radius: 11px;
  background: rgba(5, 15, 29, .55);
  backdrop-filter: blur(10px);
}

.updates-hero-meta small {
  color: #7186a1;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}

.updates-hero-meta strong {
  color: #e9f3ff;
  font-size: 12px;
}

.updates-hero-orbit {
  position: relative;
  z-index: 1;
  width: 196px;
  height: 196px;
  display: grid;
  place-content: center;
  justify-self: center;
  border: 1px solid rgba(56, 189, 248, .26);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .24), rgba(7, 17, 32, .88) 62%, transparent 63%);
  box-shadow: 0 0 60px rgba(37, 99, 235, .22), inset 0 0 40px rgba(56, 189, 248, .1);
  text-align: center;
}

.updates-hero-orbit::before,
.updates-hero-orbit::after,
.updates-hero-orbit i {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(125, 211, 252, .25);
  border-radius: 50%;
}

.updates-hero-orbit::before { animation: update-spin 16s linear infinite; border-style: dashed; }
.updates-hero-orbit::after { inset: -13px; border-color: rgba(139, 92, 246, .2); animation: update-spin-reverse 22s linear infinite; }
.updates-hero-orbit i:nth-child(1) { inset: 38px -7px; border-left-color: transparent; border-right-color: transparent; transform: rotate(42deg); }
.updates-hero-orbit i:nth-child(2) { inset: -5px 43px; border-top-color: transparent; border-bottom-color: transparent; transform: rotate(-24deg); }
.updates-hero-orbit i:nth-child(3) { inset: auto; top: 16px; left: 50%; width: 7px; height: 7px; border: 0; background: var(--updates-cyan); box-shadow: 0 0 20px var(--updates-cyan); transform: translateX(-50%); }

.updates-hero-orbit strong {
  color: #f8fbff;
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 0 24px rgba(56, 189, 248, .65);
}

.updates-hero-orbit small {
  margin-top: 8px;
  color: var(--updates-cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
}

.updates-toolbar {
  position: sticky;
  z-index: 8;
  top: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(72, 111, 158, .28);
  border-radius: 16px;
  background: rgba(7, 16, 29, .94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.updates-filters {
  min-width: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.updates-filters::-webkit-scrollbar { display: none; }

.updates-filters button {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid rgba(83, 118, 160, .24);
  border-radius: 9px;
  color: #8da0b9;
  background: rgba(12, 25, 42, .68);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: 160ms ease;
}

.updates-filters button:hover {
  color: #ddebfa;
  border-color: rgba(56, 189, 248, .36);
}

.updates-filters button.active,
.updates-filters button[aria-pressed="true"] {
  color: #f8fbff;
  border-color: rgba(56, 189, 248, .58);
  background: linear-gradient(135deg, rgba(37, 99, 235, .34), rgba(56, 189, 248, .14));
  box-shadow: inset 0 0 20px rgba(56, 189, 248, .08), 0 0 18px rgba(37, 99, 235, .12);
}

.updates-search {
  min-width: 0;
  height: 38px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(83, 118, 160, .28);
  border-radius: 9px;
  background: #06101d;
}

.updates-search:focus-within { border-color: rgba(56, 189, 248, .6); box-shadow: 0 0 0 3px rgba(56, 189, 248, .07); }
.updates-search svg { width: 16px; fill: none; stroke: #7290ad; stroke-width: 1.7; }
.updates-search input { width: 100%; min-width: 0; padding: 0 !important; border: 0 !important; outline: 0; color: #eaf4ff; background: transparent !important; font-size: 11px; box-shadow: none !important; }
.updates-search input::placeholder { color: #5d718b; }

.updates-result-count {
  margin: 0;
  color: #6f829b;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.updates-timeline {
  position: relative;
  display: grid;
  gap: 13px;
  padding: 8px 0 24px;
}

.updates-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 129px;
  width: 1px;
  background: linear-gradient(180deg, rgba(56, 189, 248, .65), rgba(139, 92, 246, .32) 55%, transparent);
}

.update-entry {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 34px;
  animation: update-entry-in 360ms ease both;
}

.update-entry[hidden] { display: none !important; }

.update-entry::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 29px;
  left: 124px;
  width: 9px;
  height: 9px;
  border: 2px solid #07111e;
  border-radius: 50%;
  background: #4b6d91;
  box-shadow: 0 0 0 3px rgba(75, 109, 145, .2);
}

.update-entry-featured::before {
  background: var(--updates-cyan);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .14), 0 0 20px rgba(56, 189, 248, .7);
}

.update-entry-date {
  padding-top: 11px;
  text-align: right;
}

.update-entry-date time {
  display: grid;
  justify-items: end;
  color: #e8f2ff;
}

.update-entry-date time b { font-size: 28px; line-height: 1; }
.update-entry-date time span { margin-top: 4px; color: #7d91aa; font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.update-entry-date em { display: inline-flex; margin-top: 9px; padding: 4px 7px; border: 1px solid rgba(56, 189, 248, .24); border-radius: 6px; color: #79ccef; background: rgba(56, 189, 248, .06); font-size: 8px; font-style: normal; font-weight: 900; }

.update-entry-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 22px 24px 23px;
  border: 1px solid rgba(68, 105, 150, .25);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 27, 45, .96), rgba(7, 16, 29, .98));
  box-shadow: 0 14px 42px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .025);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.update-entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--updates-cyan), var(--updates-violet));
  opacity: .45;
}

.update-entry:hover .update-entry-card {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, .38);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .24), 0 0 28px rgba(37, 99, 235, .06);
}

.update-entry-featured .update-entry-card {
  border-color: rgba(56, 189, 248, .43);
  background:
    radial-gradient(circle at 98% 0%, rgba(37, 99, 235, .17), transparent 33%),
    linear-gradient(145deg, rgba(13, 31, 52, .98), rgba(7, 16, 30, .98));
}

.update-entry-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.update-tag, .update-latest { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.update-tag-system { color: #6dd5ff; background: rgba(56, 189, 248, .07); }
.update-tag-interface { color: #b69cff; background: rgba(139, 92, 246, .08); }
.update-tag-content { color: #f8c565; background: rgba(245, 158, 11, .08); }
.update-tag-fix { color: #6ee7b7; background: rgba(52, 211, 153, .07); }
.update-latest { margin-left: auto; color: #dff7ff; border-color: rgba(56, 189, 248, .36); background: rgba(37, 99, 235, .2); }

.update-entry-card h2 { margin: 14px 0 7px; color: #f3f8ff; font-size: clamp(18px, 2vw, 23px); letter-spacing: -.025em; }
.update-entry-card > p { margin: 0; color: #8fa1b8; font-size: 12px; line-height: 1.6; }
.update-entry-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 17px 0 0; padding: 15px 0 0; border-top: 1px solid rgba(82, 117, 160, .16); list-style: none; }
.update-entry-card li { position: relative; padding-left: 15px; color: #b7c4d5; font-size: 10px; line-height: 1.55; }
.update-entry-card li::before { content: ""; position: absolute; top: .55em; left: 0; width: 6px; height: 6px; border: 1px solid rgba(56, 189, 248, .7); border-radius: 2px; background: rgba(56, 189, 248, .18); transform: rotate(45deg); }

.update-merge-count {
  margin-left: auto;
  color: #8fa7c1;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.update-daily-summary {
  max-width: 880px;
}

.update-daily-sections {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(82, 117, 160, .2);
}

.update-daily-section {
  min-width: 0;
  padding: 16px 17px;
  border: 1px solid rgba(79, 116, 160, .18);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(5, 14, 27, .72), rgba(13, 28, 47, .5));
}

.update-daily-section > header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.update-section-number {
  min-height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, .3);
  border-radius: 8px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, .07);
  font-size: 9px;
  font-weight: 900;
}

.update-daily-section h3 {
  margin: 0;
  color: #eaf4ff;
  font-size: 14px;
  letter-spacing: -.01em;
}

.update-daily-section header p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 7px 0 0;
}

.update-daily-section header em {
  color: #7dd3fc;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.update-daily-section .update-tag {
  min-height: 18px;
  padding-inline: 6px;
  font-size: 6px;
}

.update-section-summary {
  margin: 12px 0 0;
  color: #91a5bd;
  font-size: 10px;
  line-height: 1.6;
}

.update-entry-card .update-daily-section ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 13px;
  padding-top: 12px;
}

.update-author {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 50%, rgba(56, 189, 248, .11), transparent 32%),
    rgba(4, 12, 24, .72);
}

.update-author-visual {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
}

.update-author-avatar {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(125, 211, 252, .3);
  border-radius: 50%;
  object-fit: cover;
  background: #07111f;
}

.update-author-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  object-fit: contain;
  pointer-events: none;
  transform: translate(calc(-50% + var(--author-frame-x, 0%)), calc(-50% + var(--author-frame-y, 0%))) scale(var(--author-frame-scale, 1));
  filter: drop-shadow(0 0 9px rgba(56, 189, 248, .26));
}

.update-author-identity {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.update-author-identity small {
  color: #5f7896;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
}

.update-author-identity strong {
  overflow: hidden;
  color: #edf7ff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-author-identity > span {
  color: #65c9ee;
  font-size: 9px;
}

.update-author-bio {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.update-author-level,
.update-author-grade {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(92, 130, 176, .25);
  border-radius: 8px;
  color: #b8c8da;
  background: rgba(10, 23, 40, .82);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.update-author-grade {
  color: #d7c8ff;
  border-color: rgba(139, 92, 246, .32);
  background: rgba(139, 92, 246, .08);
}

.updates-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 4px 0 20px;
}

.updates-pagination[hidden] { display: none !important; }
.updates-pagination > span { color: #60748e; font-size: 10px; }

.updates-pagination button,
.updates-error button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(80, 119, 164, .3);
  border-radius: 9px;
  color: #95a9c1;
  background: rgba(8, 19, 34, .9);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.updates-pagination button:hover:not(:disabled),
.updates-pagination button.active {
  color: #f4fbff;
  border-color: rgba(56, 189, 248, .55);
  background: linear-gradient(135deg, rgba(37, 99, 235, .32), rgba(56, 189, 248, .12));
}

.updates-pagination button:disabled { opacity: .35; cursor: default; }

.updates-loading,
.updates-error {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed rgba(80, 121, 169, .3);
  border-radius: 16px;
  color: #8ba0ba;
  background: rgba(8, 18, 31, .7);
  text-align: center;
}

.updates-loading > span {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(56, 189, 248, .15);
  border-top-color: var(--updates-cyan);
  border-radius: 50%;
  animation: update-spin .8s linear infinite;
}

.updates-loading strong,
.updates-error strong { color: #dce9f7; font-size: 13px; }
.updates-error p { margin: 0; color: #7f93ad; font-size: 10px; }

.updates-empty {
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed rgba(80, 121, 169, .32);
  border-radius: 16px;
  color: #788ba4;
  background: rgba(8, 18, 31, .72);
  text-align: center;
}

.updates-empty[hidden] { display: none !important; }
.updates-empty > span { color: var(--updates-cyan); font-size: 32px; }
.updates-empty strong { color: #dce8f7; font-size: 16px; }
.updates-empty p { margin: 0; font-size: 11px; }

@keyframes update-spin { to { transform: rotate(360deg); } }
@keyframes update-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes update-entry-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .updates-hero { grid-template-columns: minmax(0, 1fr) 160px; min-height: 248px; padding: 28px; }
  .updates-hero-orbit { width: 150px; height: 150px; }
  .updates-hero-orbit strong { font-size: 34px; }
  .updates-toolbar { position: static; grid-template-columns: 1fr minmax(210px, 290px); }
  .updates-result-count { grid-column: 1 / -1; }
  .update-entry-card ul { grid-template-columns: 1fr; }
  .update-entry-card .update-daily-section ul { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .updates-shell { gap: 12px; }
  .updates-hero { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding: 23px 18px; border-radius: 17px; }
  .updates-hero h1 { font-size: 38px; }
  .updates-hero h1 span { font-size: 18px; }
  .updates-hero-copy > p:not(.eyebrow) { margin-top: 14px; font-size: 12px; }
  .updates-hero-meta { margin-top: 18px; }
  .updates-hero-meta > span { min-width: calc(50% - 5px); flex: 1 1 135px; }
  .updates-hero-orbit { position: absolute; top: 18px; right: 15px; width: 80px; height: 80px; opacity: .48; }
  .updates-hero-orbit strong { font-size: 20px; }
  .updates-hero-orbit small { font-size: 6px; }
  .updates-hero-orbit i { display: none; }
  .updates-toolbar { grid-template-columns: 1fr; padding: 10px; border-radius: 13px; }
  .updates-search { grid-row: 1; }
  .updates-filters { grid-row: 2; }
  .updates-result-count { grid-column: auto; grid-row: 3; }
  .updates-timeline { gap: 10px; }
  .updates-timeline::before { left: 9px; }
  .update-entry { grid-template-columns: 1fr; gap: 8px; padding-left: 24px; }
  .update-entry::before { top: 21px; left: 4px; }
  .update-entry-date { display: flex; align-items: center; gap: 8px; padding-top: 0; text-align: left; }
  .update-entry-date time { display: flex; align-items: baseline; gap: 6px; justify-items: start; }
  .update-entry-date time b { font-size: 18px; }
  .update-entry-date time span { margin: 0; }
  .update-entry-date em { margin: 0; }
  .update-entry-card { padding: 18px 16px 19px; border-radius: 13px; }
  .update-entry-card h2 { font-size: 18px; }
  .update-entry-card li { font-size: 10px; }
  .update-latest { width: 100%; margin: 3px 0 0; justify-content: center; }
  .update-merge-count { width: 100%; margin-left: 0; }
  .update-daily-section { padding: 14px 12px; }
  .update-author { grid-template-columns: 58px minmax(0, 1fr); padding: 12px; }
  .update-author-visual { width: 54px; height: 54px; }
  .update-author-frame { width: 54px; height: 54px; }
  .update-author-avatar { width: 39px; height: 39px; }
  .update-author-bio { grid-column: 1 / -1; justify-content: flex-start; }
  .updates-pagination button { flex: 1 1 auto; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .updates-hero-orbit::before,
  .updates-hero-orbit::after,
  .update-entry { animation: none !important; }
}
