/* Fill the existing shell width; its chat margin and all content layouts stay unchanged. */
.main-inner,.topbar-inner,.dock-inner{width:100%;max-width:none;margin-inline:0}

.home-v9 .home-server-update{grid-column:1/-1;width:100%;margin:0;border:0;border-top:1px solid var(--line);border-radius:0}
.home-v9 .home-update-empty{padding:18px 24px;color:var(--muted);font-size:12px}
.home-site-statistics .project-pulse{border:1px solid var(--line);border-radius:13px}

.server-profile-updates {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  border-radius: 15px 0 0;
  background: color-mix(in srgb, var(--surface) 82%, var(--surface-hi));
}
.server-profile-updates h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.profile-updates-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  color: var(--accent);
}
.profile-updates-icon svg {
  width: 15px;
  height: 15px;
}
.profile-update-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-update-list li + li {
  border-bottom: 1px solid var(--line);
}
.profile-update-list li:last-child {
  border-bottom: 0;
}
.profile-update-entry {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 57px;
  padding: 7px 4px;
  border-radius: 8px;
  color: var(--text);
  transition: background-color .18s;
}
.profile-update-entry:not(.is-latest):is(:hover,:focus-visible) {
  background: var(--surface-hi);
}
.profile-update-entry:focus-visible {
  outline-offset: 1px;
}
.profile-update-entry.is-latest {
  isolation: isolate;
  grid-template-areas: "avatar time" "copy arrow";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 12px 6px;
  min-height: 126px;
  margin-bottom: 6px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 27%, var(--line));
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface) 86%);
  transition: border-color .18s;
}
.profile-update-entry.is-latest:is(:hover,:focus-visible) {
  border-color: var(--accent);
}
.profile-update-entry .rank-profile-cover {
  opacity: .55;
}
.profile-update-entry .rank-profile-cover::after {
  background: linear-gradient(0deg, var(--surface) 2%, transparent 93%);
}
.profile-update-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--surface-hi);
  color: var(--accent);
  font-size: 13px;
}
.profile-update-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.profile-update-entry.is-latest .profile-update-avatar {
  grid-area: avatar;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, var(--line));
}
.profile-update-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  line-height: 1.35;
}
.profile-update-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}
.profile-update-copy > span {
  color: color-mix(in srgb, var(--text) 33%, var(--muted));
  font-size: 10px;
}
.profile-update-entry time {
  color: color-mix(in srgb, var(--text) 20%, var(--muted));
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.profile-update-entry.is-latest .profile-update-copy {
  grid-area: copy;
}
.profile-update-entry.is-latest .profile-update-copy strong {
  font-size: 15px;
}
.profile-update-entry.is-latest .profile-update-copy > span {
  color: var(--accent);
  font-size: 11px;
}
.profile-update-entry.is-latest time {
  grid-area: time;
  align-self: start;
  padding: 3px 6px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}
.profile-update-arrow {
  grid-area: arrow;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent);
}
.profile-update-arrow svg {
  width: 13px;
  height: 13px;
}
.profile-update-empty {
  margin: 12px 2px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 760px) {
  .server-profile-updates {
    grid-row: auto;
    padding: 12px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }
  .server-profile-updates h2 {
    margin-bottom: 9px;
  }
  .profile-update-entry.is-latest {
    grid-template-areas: "avatar copy time arrow";
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 9px;
    min-height: 66px;
    padding: 9px;
  }
  .profile-update-entry.is-latest .profile-update-avatar {
    width: 40px;
    height: 40px;
  }
  .profile-update-entry.is-latest time {
    align-self: auto;
  }
  .profile-update-entry:not(.is-latest) {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-update-entry,
  .profile-update-entry.is-latest {
    transition: none;
  }
}
