.portal-top-ecosystem {
  border-bottom: 1px solid #263344;
  background: #0d1826;
}
.portal-ecosystem-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  min-height: 54px;
  padding: 8px 12px;
  border-left: 2px solid #c53d45;
  color: #f5f7fb;
  text-decoration: none;
  transition: background-color .18s ease;
}
.portal-ecosystem-strip:hover,
.portal-ecosystem-strip:focus-visible {
  background: #172436;
  color: #fff;
}
.portal-ecosystem-strip strong {
  flex: none;
  font-size: 1rem;
  font-weight: 700;
}
.portal-ecosystem-strip > span:not(.portal-ecosystem-action) {
  color: #c7d1dd;
  font-size: .86rem;
}
.portal-ecosystem-strip .portal-ecosystem-action {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  white-space: nowrap;
  color: #f1c7ca;
  font-size: .82rem;
  font-weight: 650;
}
.portal-ecosystem-strip .portal-ecosystem-action b {
  font-size: 1.12rem;
  font-weight: 400;
}
.portal-ecosystem-strip .portal-ecosystem-mobile { display: none; }
@media (max-width: 600px) {
  .portal-ecosystem-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 10px;
    min-height: 58px;
    padding: 5px 10px;
  }
  .portal-ecosystem-strip strong { grid-column: 1 / -1; font-size: .94rem; line-height: 1.2; }
  .portal-ecosystem-strip .portal-ecosystem-desktop { display: none; }
  .portal-ecosystem-strip .portal-ecosystem-mobile { display: block; font-size: .78rem; line-height: 1.25; }
  .portal-ecosystem-strip .portal-ecosystem-action { grid-column: 2; grid-row: 2; line-height: 1; }
  .portal-ecosystem-strip .portal-ecosystem-action b { line-height: 1; }
}
.portal-resource-directory nav {
  gap: 8px;
}
.portal-resource-directory nav a {
  display: grid;
  align-content: center;
  min-height: 69px;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #2d3e52;
  background: #101b29;
}
.portal-resource-directory nav a:nth-child(odd) {
  margin-right: 0;
}
.portal-resource-directory nav .ys-resource-link strong {
  font-size: inherit;
  font-weight: 700;
}
.portal-resource-directory nav .ys-resource-link small {
  color: #93a4b8;
  font-size: .62rem;
  line-height: 1.45;
}
.portal-resource-directory nav .ys-resource-link:hover,
.ys-ecosystem-grid a:hover {
  color: #fff;
  border-color: #63758a;
}
.ys-ecosystem {
  margin-bottom: 38px;
}
.ys-ecosystem header {
  margin-bottom: 18px;
}
.ys-ecosystem h2 {
  margin: 0 0 6px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}
.ys-ecosystem p {
  margin: 0;
  color: #94a3b8;
  font-size: .72rem;
}
.ys-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ys-ecosystem-grid a {
  display: grid;
  min-width: 0;
  min-height: 114px;
  padding: 19px;
  border: 1px solid #324256;
  color: #e5edf5;
  background: #101e2d;
  align-content: space-between;
  text-decoration: none;
}
.ys-ecosystem-grid strong {
  font-size: .9rem;
}
.ys-ecosystem-grid span {
  color: #9baaba;
  font-size: .68rem;
  line-height: 1.5;
}
@media (max-width: 780px) {
  .ys-ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 460px) {
  .ys-ecosystem-grid {
    gap: 9px;
  }
  .ys-ecosystem-grid a {
    min-height: 108px;
    padding: 14px;
  }
}
