/* morenice 首页附加样式 */
#divLink { margin: 0; padding: 0; }
#divLink .function_t { display: none; }
#divLink .function_c { margin: 0; padding: 0; }
#divLink ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#divLink ul > li { margin: 0; padding: 0; }
#divLink ul > li > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1.5px solid;
  background: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  color: #4b5563;
  transition: all .15s;
  overflow: hidden;
}
#divLink ul > li > a:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transform: translateY(-1px);
}
#divLink ul > li > a > img {
  width: 20px; height: 20px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}
#divLink ul > li:nth-child(8n+1) > a { border-color: #3b82f6; }
#divLink ul > li:nth-child(8n+2) > a { border-color: #10b981; }
#divLink ul > li:nth-child(8n+3) > a { border-color: #8b5cf6; }
#divLink ul > li:nth-child(8n+4) > a { border-color: #f59e0b; }
#divLink ul > li:nth-child(8n+5) > a { border-color: #f43f5e; }
#divLink ul > li:nth-child(8n+6) > a { border-color: #06b6d4; }
#divLink ul > li:nth-child(8n+7) > a { border-color: #f97316; }
#divLink ul > li:nth-child(8n+0) > a { border-color: #d946ef; }
@media (min-width: 640px) {
  #divLink ul { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 768px) {
  #divLink ul { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1024px) {
  #divLink ul { grid-template-columns: repeat(8, 1fr); gap: 8px; }
}