/* kunpeng 首页附加样式 + 友情链接美化 */
/* ======== 首页友情链接 - 居左水平紧凑8列 ======== */
#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;
}
/* 8色边框 */
#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; }
}
/* ======== 头条标题 ======== */
.headline-title { font-size: 28px; font-weight: 700; }
/* ======== 友情链接独立页面网格 ======== */
.flinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (min-width: 640px) { .flinks { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 768px) { .flinks { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1024px) { .flinks { grid-template-columns: repeat(8, 1fr); gap: 8px; } }
.flink-item { 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; transition: all .15s; }
.flink-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,.06); transform: translateY(-1px); }
.flink-item .flink-avatar { width: 26px; height: 26px; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.flink-item .flink-avatar img { width: 20px; height: 20px; object-fit: contain; }
.flink-item .flink-avatar .flink-initial { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.flink-item .flink-name { font-size: 11px; font-weight: 500; color: #4b5563; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
