.sr-task-avatar {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  object-fit: initial;
  background: linear-gradient(135deg, #203b5c, #11273e);
  color: #8faed0;
  font-size: 12px;
  font-weight: 800;
}

.sr-task-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #172b42;
}

.sr-task-avatar-link {
  cursor: zoom-in;
  text-decoration: none;
  outline: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.sr-task-avatar-link:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px #8b7dff70, 0 8px 20px #0008;
}

.sr-task-avatar-link:focus-visible {
  box-shadow: 0 0 0 3px #b1a8ff;
}

.sr-avatar-open {
  position: absolute;
  right: 1px;
  bottom: 1px;
  z-index: 2;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid #a99fff;
  border-radius: 50%;
  background: #5849d9;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 2px 7px #000a;
}

.sr-task-main .sr-task-title {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sr-task-title em {
  color: #b8afff;
  font-size: .68em;
  font-style: normal;
  vertical-align: .08em;
}

.sr-task-main .sr-task-viewer {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  margin-top: 5px;
  color: #9db0c9;
}

.sr-task-viewer b {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 55%;
  color: #eef5ff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sr-task-viewer small {
  flex: 1 1 auto;
  min-width: 0;
  color: #8fa2bc;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 680px) {
  .sr-task-main .sr-task-title { font-size: 17px; }
  .sr-task-viewer b { max-width: 62%; font-size: 15px; }
}
