.code-hub {
  --code-ink: #0a2349;
  --code-muted: #647795;
  --code-blue: #1479f8;
  --code-green: #00bf8f;
  --code-line: #dce9f6;
  color: var(--code-ink);
  background: #f7fbff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.code-hub *,
.mcp-skills-hub * {
  box-sizing: border-box;
}

.code-hub .sa-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.code-hub .sa-breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px 0 8px;
  color: #7185a4;
  font-size: 13px;
}

.code-hub .sa-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.code-hub-hero {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  background:
    radial-gradient(circle at 78% 24%, rgba(59, 178, 255, 0.22), transparent 31%),
    linear-gradient(120deg, #fbfdff 18%, #edf9ff 67%, #dcf7ff);
}

.code-hub-hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(45, 157, 247, 0.14);
  border-radius: 50%;
  content: "";
}

.code-hub-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, 0.78fr);
  gap: 38px;
  align-items: center;
  padding: 20px 0 42px;
}

.code-hub-hero-copy h1 {
  margin: 0;
  color: var(--code-ink);
  font-size: clamp(37px, 4.2vw, 58px);
  line-height: 1.17;
  letter-spacing: -0.035em;
}

.code-hub-hero-copy h1 em {
  color: var(--code-blue);
  font-style: normal;
}

.code-hub-hero-copy > p {
  max-width: 720px;
  margin: 18px 0 22px;
  color: var(--code-muted);
  font-size: 17px;
  line-height: 1.75;
}

.code-hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.code-hub-button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #1680fa;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #0f6fe7;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.code-hub-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 111, 226, 0.15);
}

.code-hub-button.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #00bd87, #00d7a5);
  box-shadow: 0 12px 25px rgba(0, 188, 137, 0.2);
}

.code-hub-button.small {
  min-height: 44px;
  padding: 0 17px;
  font-size: 13px;
}

.code-hub-button svg {
  width: 17px;
  height: 17px;
}

.code-hub-text-link {
  color: #1479f8;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.code-hub-hero-visual {
  position: relative;
  min-height: 300px;
}

.code-hub-editor {
  position: absolute;
  top: 28px;
  right: 44px;
  width: 300px;
  height: 194px;
  padding: 24px;
  border: 5px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  background: linear-gradient(145deg, #102849, #1d466e);
  box-shadow: 0 26px 55px rgba(7, 45, 79, 0.24);
  transform: rotate(4deg);
}

.code-hub-editor > span {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.code-hub-editor > span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb6b6b;
}

.code-hub-editor > span i:nth-child(2) {
  background: #f8c34a;
}

.code-hub-editor > span i:nth-child(3) {
  background: #3fe399;
}

.code-hub-editor > b {
  display: block;
  width: 74%;
  height: 9px;
  margin: 12px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3fb7ff 0 24%, #d99cff 24% 58%, rgba(255, 255, 255, 0.14) 58%);
}

.code-hub-editor > b:nth-of-type(2) {
  width: 88%;
}

.code-hub-editor > b:nth-of-type(3) {
  width: 63%;
}

.code-hub-brand-card,
.code-hub-terminal-card {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(27, 85, 130, 0.18);
  backdrop-filter: blur(10px);
}

.code-hub-brand-card {
  width: 145px;
  min-height: 150px;
  padding: 16px;
}

.code-hub-brand-card.codex {
  bottom: 5px;
  left: 5px;
  transform: rotate(-5deg);
}

.code-hub-brand-card.claude {
  right: -4px;
  bottom: 4px;
  transform: rotate(7deg);
}

.code-hub-brand-card img {
  display: block;
  box-sizing: border-box;
  width: 62px;
  height: 62px;
  padding: 10px;
  border-radius: 14px;
  background: #087f6b;
  object-fit: contain;
}

.code-hub-brand-card.claude img {
  background: #b65335;
}

.code-hub-brand-card strong {
  display: block;
  margin-top: 6px;
  color: #092247;
  font-size: 21px;
}

.code-hub-brand-card small {
  color: #6d7d99;
  font-size: 13px;
}

.code-hub-terminal-card {
  right: 130px;
  bottom: 10px;
  width: 82px;
  height: 82px;
  color: #fff;
  background: linear-gradient(145deg, #17385d, #0b1c33);
  transform: rotate(5deg);
}

.code-hub-terminal-card svg {
  width: 42px;
  height: 42px;
}

.code-hub-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 22px 7px rgba(255, 255, 255, 0.85);
}

.code-hub-spark.one {
  top: 30px;
  left: 56px;
}

.code-hub-spark.two {
  top: 82px;
  right: 10px;
}

.code-hub-content {
  display: grid;
  gap: 18px;
  padding-block: 22px 30px;
}

.code-hub-panel {
  padding: 20px;
  border: 1px solid #e4eef8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(46, 93, 133, 0.055);
}

.code-hub-panel.compact {
  padding-bottom: 18px;
}

.code-hub-section-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}

.code-hub-section-head > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #15a4ff, #3f7ef8);
}

.code-hub-section-head > span svg {
  width: 20px;
  height: 20px;
}

.code-hub-section-head h2,
.code-hub-section-head p {
  margin: 0;
}

.code-hub-section-head h2 {
  color: var(--code-ink);
  font-size: 23px;
  line-height: 1.25;
}

.code-hub-section-head p {
  margin-top: 3px;
  color: #5f718d;
  font-size: 13px;
}

.code-hub-section-head.split > a {
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  gap: 7px;
  color: #0f63bd;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.code-hub-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.code-hub-tool-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  min-height: 164px;
  padding: 24px;
  border: 1px solid #cfeee8;
  border-radius: 12px;
  background: linear-gradient(115deg, #f3fffb, #edf9f8);
}

.code-hub-tool-grid article.claude {
  border-color: #f5ded1;
  background: linear-gradient(115deg, #fff9f5, #fff2eb);
}

.code-hub-tool-grid article > img {
  box-sizing: border-box;
  width: 74px;
  height: 74px;
  padding: 12px;
  border-radius: 16px;
  background: #087f6b;
  object-fit: contain;
}

.code-hub-tool-grid article.claude > img {
  background: #b65335;
}

.code-hub-tool-grid h3 {
  margin: 0 0 6px;
  font-size: 25px;
}

.code-hub-tool-grid p {
  margin: 0 0 14px;
  color: #647795;
  font-size: 14px;
  line-height: 1.65;
}

.code-hub-tool-grid article > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.code-hub-entry-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.code-hub-entry-steps li {
  position: relative;
  display: flex;
  min-height: 155px;
  padding: 18px 13px 15px;
  border: 1px solid #e5eef7;
  border-radius: 11px;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(160deg, #f8fcff, #eef7ff);
}

.code-hub-entry-steps li:nth-child(3n + 1) {
  background: linear-gradient(160deg, #f6fbff, #edf7ff);
}

.code-hub-entry-steps li:nth-child(3n + 2) {
  background: linear-gradient(160deg, #f7fbff, #eefaff);
}

.code-hub-entry-steps li:nth-child(3n) {
  background: linear-gradient(160deg, #fff8fa, #fff0f2);
}

.code-hub-entry-steps > li > svg {
  width: 31px;
  height: 31px;
  margin: 6px 0 11px;
  color: #2588f5;
}

.code-hub-entry-steps strong {
  color: #11294d;
  font-size: 14px;
  line-height: 1.35;
}

.code-hub-entry-steps small {
  margin-top: 6px;
  color: #7789a2;
  font-size: 12px;
  line-height: 1.45;
}

.code-hub-step-number {
  position: absolute;
  top: 11px;
  left: 11px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2788f6;
  font-size: 12px;
  font-weight: 800;
}

.code-hub-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.code-hub-auth-grid > a,
.code-hub-extension-grid > a,
.code-hub-error-card {
  display: flex;
  min-height: 105px;
  padding: 17px;
  border: 1px solid #dce9f6;
  border-radius: 11px;
  align-items: center;
  gap: 14px;
  color: var(--code-ink);
  background: linear-gradient(145deg, #fafdff, #f1f8ff);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.code-hub-auth-grid > a:hover,
.code-hub-extension-grid > a:hover,
.code-hub-error-card:hover {
  border-color: #93c6fb;
  transform: translateY(-2px);
}

.code-hub-auth-grid > a > span,
.code-hub-extension-grid > a > span,
.code-hub-error-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  color: #2389f5;
  background: #e5f4ff;
}

.code-hub-auth-grid strong,
.code-hub-auth-grid small,
.code-hub-extension-grid strong,
.code-hub-extension-grid small,
.code-hub-error-card strong,
.code-hub-error-card small {
  display: block;
}

.code-hub-auth-grid strong,
.code-hub-extension-grid strong,
.code-hub-error-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.code-hub-auth-grid small,
.code-hub-extension-grid small,
.code-hub-error-card small {
  margin-top: 4px;
  color: #5f7188;
  font-size: 12px;
  line-height: 1.5;
}

.code-hub-auth-grid > a > svg,
.code-hub-extension-grid > a > svg,
.code-hub-error-card > svg {
  width: 17px;
  height: 17px;
  margin-left: auto;
  flex: 0 0 17px;
  color: #1c82ef;
}

.code-hub-login-comparison {
  margin-top: 15px;
  padding: 20px;
  border: 1px solid #dce9f6;
  border-radius: 11px;
  background: #f7fbff;
}

.code-hub-login-comparison h3 {
  margin: 0;
  font-size: 18px;
}

.code-hub-login-intro {
  margin: 8px 0 16px;
  color: #5f7188;
  font-size: 13px;
  line-height: 1.7;
}

.code-hub-login-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.75;
}

.code-hub-login-table th,
.code-hub-login-table td {
  padding: 13px 15px;
  border: 1px solid #dce9f6;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.code-hub-login-table th {
  color: var(--code-ink);
  background: #eef6ff;
}

.code-hub-login-table th:first-child {
  width: 16%;
}

.code-hub-login-table td {
  color: #43576d;
  background: #fff;
}

.code-hub-login-note,
.code-hub-login-sources {
  margin: 12px 0 0;
  color: #5f7188;
  font-size: 12px;
  line-height: 1.75;
}

.code-hub-login-sources summary {
  width: fit-content;
  cursor: pointer;
  color: #176ac3;
}

.code-hub-login-sources ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.code-hub-login-sources a {
  color: #176ac3;
  text-underline-offset: 3px;
}

.code-hub-error-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.code-hub-error-card {
  min-height: 92px;
  padding: 14px;
  background: #fff;
}

.code-hub-error-card:nth-child(3n) > span {
  color: #ef5d63;
  background: #fff0f1;
}

.code-hub-extension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.code-hub-extension-grid > a:nth-child(2) {
  border-color: #cdeee6;
  background: linear-gradient(145deg, #f8fffd, #edfbf8);
}

.code-hub-extension-grid > a:nth-child(2) > span {
  color: #00a879;
  background: #dcf8ef;
}

.code-hub-api-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 17px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid #cee5fb;
  border-radius: 14px;
  background: linear-gradient(115deg, #edf8ff, #f7fbff);
}

.code-hub-api-cta > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #1687f5;
  background: #dff1ff;
}

.code-hub-api-cta h2,
.code-hub-api-cta p {
  margin: 0;
}

.code-hub-api-cta h2 {
  font-size: 18px;
}

.code-hub-api-cta p {
  margin-top: 4px;
  color: #5f7188;
  font-size: 13px;
}

.mcp-skills-hub {
  --mcp-ink: #0a2349;
  --mcp-muted: #657895;
  --mcp-green: var(--site-success, #087a55);
  --skill-violet: #7652f5;
  color: var(--mcp-ink);
  background: #f9fcff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.mcp-skills-hub .sa-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mcp-skills-hub .sa-breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px 0 8px;
  color: #7185a4;
  font-size: 13px;
}

.mcp-skills-hub .sa-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.mcp-skills-hub-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(49, 176, 255, 0.25), transparent 32%),
    linear-gradient(120deg, #fbfdff, #f0fbff 66%, #e1f9ff);
}

.mcp-skills-hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(345px, 0.72fr);
  gap: 35px;
  align-items: center;
  padding: 22px 0 32px;
}

.mcp-skills-hub-hero-copy h1 {
  margin: 0;
  color: var(--mcp-ink);
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.mcp-skills-hub-hero-copy h1 em {
  color: #176fe9;
  font-style: normal;
}

.mcp-skills-hub-hero-copy > p {
  max-width: 760px;
  margin: 15px 0 18px;
  color: var(--mcp-muted);
  font-size: 16px;
  line-height: 1.75;
}

.mcp-skills-hub-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: min(720px, 100%);
  padding: 5px 5px 5px 16px;
  border: 1px solid #d5e6f4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(50, 100, 140, 0.1);
}

.mcp-skills-hub-search:focus-within {
  border-color: #087a55;
  box-shadow: 0 0 0 3px rgba(8, 122, 85, 0.16), 0 10px 24px rgba(50, 100, 140, 0.1);
}

.mcp-skills-hub-search > svg {
  width: 21px;
  color: var(--site-muted, #667085);
}

.mcp-skills-hub-search input {
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  color: #173052;
  background: transparent;
  font: inherit;
}

.mcp-skills-hub-search button {
  min-width: 84px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #087a55, #096a4b);
  font-weight: 800;
  cursor: pointer;
}

.mcp-skills-hub-hot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  font-size: 11px;
}

.mcp-skills-hub-hot a {
  padding: 5px 10px;
  border: 1px solid #d8e7f5;
  border-radius: 999px;
  color: #667b98;
  background: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.mcp-skills-hub-hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 255px;
  padding: 28px;
}

.mcp-skills-hub-hero-visual::before,
.mcp-skills-hub-hero-visual::after {
  position: absolute;
  inset: 20px 4px;
  border: 1px solid rgba(33, 156, 235, 0.24);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.mcp-skills-hub-hero-visual::after {
  inset: 46px 30px;
  transform: rotate(16deg);
}

.mcp-skills-hub-hero-visual article,
.mcp-skills-hub-hero-visual > span {
  position: relative;
  z-index: 1;
}

.mcp-skills-hub-hero-visual article {
  display: flex;
  min-height: 170px;
  padding: 21px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 40px rgba(54, 105, 146, 0.14);
  backdrop-filter: blur(12px);
}

.mcp-skills-hub-hero-visual article.mcp {
  color: #009b70;
  transform: rotate(-5deg);
}

.mcp-skills-hub-hero-visual article.skill {
  color: #6540e9;
  transform: rotate(5deg);
}

.mcp-skills-hub-hero-visual article > svg {
  width: 58px;
  height: 58px;
}

.mcp-skills-hub-hero-visual article strong {
  margin-top: 11px;
  color: #10294d;
  font-size: 19px;
}

.mcp-skills-hub-hero-visual article small {
  margin-top: 4px;
  color: #667995;
  font-size: 12px;
  text-align: center;
}

.mcp-skills-hub-hero-visual > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #5b83ef;
  background: #fff;
  box-shadow: 0 8px 20px rgba(42, 87, 132, 0.14);
}

.mcp-skills-hub-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding-block: 22px 30px;
}

.mcp-skills-hub-content > * {
  min-width: 0;
}

.mcp-skills-hub-panel {
  padding: 19px;
  border: 1px solid #e1ebf5;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(48, 91, 128, 0.05);
}

.mcp-skills-hub-section-head {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 14px;
}

.mcp-skills-hub-section-head > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #2387f3, #5c9df7);
}

.mcp-skills-hub-section-head h2,
.mcp-skills-hub-section-head p {
  margin: 0;
}

.mcp-skills-hub-section-head h2 {
  font-size: 22px;
}

.mcp-skills-hub-section-head p {
  margin-top: 3px;
  color: #5d708a;
  font-size: 12px;
}

.mcp-skills-hub-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.mcp-skills-hub-choice-grid > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 105px;
  padding: 16px;
  border: 1px solid #d7ebe5;
  border-radius: 10px;
  color: var(--mcp-ink);
  background: linear-gradient(145deg, #fbfffe, #f0fcf8);
  text-decoration: none;
}

.mcp-skills-hub-choice-grid > a:nth-child(2) {
  border-color: #e3dafd;
  background: linear-gradient(145deg, #fdfcff, #f7f3ff);
}

.mcp-skills-hub-choice-grid > a:nth-child(3) {
  border-color: #dbe9f8;
  background: linear-gradient(145deg, #fbfdff, #f2f8ff);
}

.mcp-skills-hub-choice-grid > a > svg:first-child {
  width: 37px;
  height: 37px;
  color: var(--mcp-green);
}

.mcp-skills-hub-choice-grid > a:nth-child(2) > svg:first-child {
  color: var(--skill-violet);
}

.mcp-skills-hub-choice-grid strong,
.mcp-skills-hub-choice-grid em,
.mcp-skills-hub-choice-grid small {
  display: block;
}

.mcp-skills-hub-choice-grid strong {
  font-size: 13px;
}

.mcp-skills-hub-choice-grid em {
  margin: 2px 0;
  color: #00a675;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.mcp-skills-hub-choice-grid > a:nth-child(2) em {
  color: #724aed;
}

.mcp-skills-hub-choice-grid > a:nth-child(3) em {
  color: #2279e6;
}

.mcp-skills-hub-choice-grid small {
  color: #5e7089;
  font-size: 12px;
  line-height: 1.45;
}

.mcp-skills-hub-choice-grid > a > svg:last-child {
  width: 17px;
  color: #398bf0;
}

.mcp-skills-hub-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mcp-skills-hub-definition-grid article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 142px;
  padding: 20px;
  border: 1px solid #d4ede6;
  border-radius: 12px;
  background: linear-gradient(115deg, #f7fffc, #f3fbfa);
}

.mcp-skills-hub-definition-grid article.skill {
  border-color: #e2daf9;
  background: linear-gradient(115deg, #fdfcff, #f8f5ff);
}

.mcp-skills-hub-definition-grid article > svg {
  width: 60px;
  height: 60px;
  color: var(--mcp-green);
}

.mcp-skills-hub-definition-grid article.skill > svg {
  color: var(--skill-violet);
}

.mcp-skills-hub-definition-grid h2,
.mcp-skills-hub-definition-grid p {
  margin: 0;
}

.mcp-skills-hub-definition-grid h2 {
  font-size: 22px;
}

.mcp-skills-hub-definition-grid p {
  margin-top: 7px;
  color: #667995;
  font-size: 12px;
  line-height: 1.65;
}

.mcp-skills-hub-definition-grid article > a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #b9e5da;
  border-radius: 50%;
  color: var(--mcp-green);
  background: #fff;
}

.mcp-skills-hub-definition-grid article.skill > a {
  border-color: #d8cbff;
  color: var(--skill-violet);
}

.mcp-skills-hub-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #cde2f6;
  border-radius: 9px;
}

.mcp-skills-hub-table-wrap table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  font-size: 12px;
}

.mcp-skills-hub-table-wrap th,
.mcp-skills-hub-table-wrap td {
  padding: 13px 16px;
  border-right: 1px solid #dbe8f4;
  border-bottom: 1px solid #dbe8f4;
  text-align: left;
}

.mcp-skills-hub-table-wrap thead th {
  color: #13335c;
  background: #eaf5ff;
  font-size: 12px;
}

.mcp-skills-hub-table-wrap tbody th {
  color: #17375f;
  background: #f5faff;
}

.mcp-skills-hub-table-wrap td {
  color: #5d7391;
  background: #fff;
}

.mcp-skills-hub-table-wrap tr:last-child > * {
  border-bottom: 0;
}

.mcp-skills-hub-table-wrap tr > *:last-child {
  border-right: 0;
}

.mcp-skills-hub-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mcp-skills-hub-paths > article {
  padding: 18px;
  border: 1px solid #dce9f3;
  border-radius: 12px;
  background: #fff;
}

.mcp-skills-hub-paths header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mcp-skills-hub-paths header > svg {
  width: 37px;
  height: 37px;
  color: var(--mcp-green);
}

.mcp-skills-hub-paths .skill header > svg {
  color: var(--skill-violet);
}

.mcp-skills-hub-paths h2,
.mcp-skills-hub-paths p {
  margin: 0;
}

.mcp-skills-hub-paths h2 {
  font-size: 20px;
}

.mcp-skills-hub-paths p {
  margin-top: 2px;
  color: #5c6f89;
  font-size: 13px;
}

.mcp-skills-hub-paths ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.mcp-skills-hub-paths li {
  position: relative;
  text-align: center;
}

.mcp-skills-hub-paths li:not(:last-child)::after {
  position: absolute;
  top: 13px;
  right: -7px;
  color: #4792ec;
  content: "›";
  font-size: 22px;
}

.mcp-skills-hub-paths li > span {
  display: grid;
  width: 27px;
  height: 27px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 50%;
  color: #155dcc;
  background: #dbeaff;
  font-size: 11px;
  font-weight: 800;
}

.mcp-skills-hub-paths .skill li > span {
  color: #6541dd;
  background: #eee7ff;
}

.mcp-skills-hub-paths li strong,
.mcp-skills-hub-paths li small {
  display: block;
}

.mcp-skills-hub-paths li strong {
  font-size: 13px;
  line-height: 1.35;
}

.mcp-skills-hub-paths li small {
  margin-top: 4px;
  color: #5e7088;
  font-size: 12px;
  line-height: 1.45;
}

.mcp-skills-hub-tutorials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mcp-skills-hub-tutorials > article {
  padding: 18px;
  border: 1px solid #e0eaf4;
  border-radius: 12px;
  background: #fff;
}

.mcp-skills-hub-tutorials > article > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mcp-skills-hub-tutorials header > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mcp-skills-hub-tutorials header > div > svg {
  width: 33px;
  height: 33px;
  color: var(--mcp-green);
}

.mcp-skills-hub-tutorials > article:nth-child(2) header > div > svg {
  color: var(--skill-violet);
}

.mcp-skills-hub-tutorials h2,
.mcp-skills-hub-tutorials p {
  margin: 0;
}

.mcp-skills-hub-tutorials h2 {
  font-size: 20px;
}

.mcp-skills-hub-tutorials p {
  margin-top: 2px;
  color: #5c6f88;
  font-size: 13px;
}

.mcp-skills-hub-tutorials header > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  color: #0f63bd;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.mcp-skills-hub-tutorials > article > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mcp-skills-hub-tutorials > article > div > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 75px;
  padding: 11px;
  border: 1px solid #e1ebf4;
  border-radius: 9px;
  color: var(--mcp-ink);
  background: #fff;
  text-decoration: none;
}

.mcp-skills-hub-tutorials > article > div > a > span {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 10px;
  color: #1d82eb;
  background: #eaf5ff;
}

.mcp-skills-hub-tutorials strong,
.mcp-skills-hub-tutorials small {
  display: block;
}

.mcp-skills-hub-tutorials strong {
  font-size: 13px;
}

.mcp-skills-hub-tutorials small {
  margin-top: 3px;
  color: #5d6f88;
  font-size: 12px;
  line-height: 1.45;
}

.mcp-skills-hub-tutorials > article > div > a > svg {
  width: 15px;
  color: #2682ed;
}

.mcp-skills-hub-security {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid #ffc7c7;
  border-radius: 10px;
  color: #d83942;
  background: #fff3f3;
}

.mcp-skills-hub-security > svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.mcp-skills-hub-security p {
  margin: 0;
  color: #8c5b64;
  font-size: 13px;
  line-height: 1.6;
}

.mcp-skills-hub-security strong {
  color: #c82e38;
}

.mcp-skills-hub-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mcp-skills-hub-workflow li {
  position: relative;
  display: flex;
  min-height: 100px;
  padding: 13px;
  border: 1px solid #dce8f5;
  border-radius: 9px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #f6fbff;
  text-align: center;
}

.mcp-skills-hub-workflow li:not(:last-child)::after {
  position: absolute;
  top: 41px;
  right: -30px;
  color: #3593ee;
  content: "→";
  font-size: 25px;
}

.mcp-skills-hub-workflow li > svg {
  width: 31px;
  height: 31px;
  margin-bottom: 7px;
  color: #318ded;
}

.mcp-skills-hub-workflow li:nth-child(2) > svg {
  color: var(--skill-violet);
}

.mcp-skills-hub-workflow li:nth-child(3) > svg {
  color: var(--mcp-green);
}

.mcp-skills-hub-workflow li:nth-child(4) > svg {
  color: #a84f1f;
}

.mcp-skills-hub-workflow strong,
.mcp-skills-hub-workflow small {
  display: block;
}

.mcp-skills-hub-workflow strong {
  font-size: 13px;
}

.mcp-skills-hub-workflow small {
  margin-top: 3px;
  color: #5d7088;
  font-size: 12px;
}

.mcp-skills-hub-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mcp-skills-hub-directory-grid > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 108px;
  padding: 20px;
  border: 1px solid #cdebe2;
  border-radius: 12px;
  color: var(--mcp-ink);
  background: linear-gradient(115deg, #f1fdf9, #e9fbf6);
  text-decoration: none;
}

.mcp-skills-hub-directory-grid > a.skill {
  border-color: #dfd5fb;
  background: linear-gradient(115deg, #faf7ff, #f5f0ff);
}

.mcp-skills-hub-directory-grid > a > svg:first-child {
  width: 52px;
  height: 52px;
  color: var(--mcp-green);
}

.mcp-skills-hub-directory-grid > a.skill > svg:first-child {
  color: var(--skill-violet);
}

.mcp-skills-hub-directory-grid strong,
.mcp-skills-hub-directory-grid small,
.mcp-skills-hub-directory-grid em {
  display: block;
}

.mcp-skills-hub-directory-grid strong {
  font-size: 17px;
}

.mcp-skills-hub-directory-grid small {
  margin-top: 4px;
  color: #71859f;
  font-size: 11px;
}

.mcp-skills-hub-directory-grid em {
  margin-top: 4px;
  color: #118e69;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.mcp-skills-hub-directory-grid > a > svg:last-child {
  color: #1a9b74;
}

.mcp-skills-hub-related {
  display: grid;
  grid-template-columns: auto 1fr minmax(250px, 0.46fr);
  gap: 15px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid #dae7f4;
  border-radius: 10px;
  background: #f8fbff;
}

.mcp-skills-hub-related > svg {
  color: #247fe8;
}

.mcp-skills-hub-related > div strong,
.mcp-skills-hub-related > div small {
  display: block;
}

.mcp-skills-hub-related > div strong {
  font-size: 15px;
}

.mcp-skills-hub-related > div small {
  margin-top: 3px;
  color: #5e7089;
  font-size: 12px;
}

.mcp-skills-hub-related > a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e1eaf4;
  border-radius: 9px;
  color: var(--mcp-ink);
  background: #fff;
  text-decoration: none;
}

.mcp-skills-hub-related > a > svg {
  width: 34px;
  height: 34px;
  color: #a84f1f;
}

.mcp-skills-hub-related > a strong,
.mcp-skills-hub-related > a small {
  display: block;
}

.mcp-skills-hub-related > a strong {
  font-size: 12px;
}

.mcp-skills-hub-related > a small {
  margin-top: 3px;
  color: #125faa;
  font-size: 12px;
}

.mcp-skills-hub-related > a small svg {
  width: 12px;
  height: 12px;
  vertical-align: -2px;
}

@media (max-width: 980px) {
  .code-hub-hero-grid,
  .mcp-skills-hub-hero-grid {
    grid-template-columns: 1fr;
  }

  .code-hub-hero-visual,
  .mcp-skills-hub-hero-visual {
    width: min(540px, 100%);
    margin-inline: auto;
  }

  .code-hub-entry-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .code-hub-auth-grid,
  .code-hub-error-grid,
  .mcp-skills-hub-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mcp-skills-hub-choice-grid > a:last-child {
    grid-column: 1 / -1;
  }

  .mcp-skills-hub-paths,
  .mcp-skills-hub-tutorials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .code-hub .sa-shell,
  .mcp-skills-hub .sa-shell {
    width: min(100% - 24px, 1180px);
  }

  .code-hub-hero-grid,
  .mcp-skills-hub-hero-grid {
    padding-top: 12px;
  }

  .code-hub-hero-copy h1,
  .mcp-skills-hub-hero-copy h1 {
    font-size: 34px;
    text-wrap: balance;
  }

  .code-hub-hero-copy > p,
  .mcp-skills-hub-hero-copy > p {
    font-size: 15px;
  }

  .code-hub-hero-actions,
  .code-hub-tool-grid article > div > div {
    align-items: stretch;
    flex-direction: column;
  }

  .code-hub-button {
    width: 100%;
  }

  .code-hub-text-link {
    text-align: center;
  }

  .code-hub-hero-visual {
    min-height: 260px;
    transform: scale(0.9);
    transform-origin: center;
  }

  .code-hub-tool-grid,
  .code-hub-auth-grid,
  .code-hub-error-grid,
  .code-hub-extension-grid,
  .mcp-skills-hub-choice-grid,
  .mcp-skills-hub-definition-grid,
  .mcp-skills-hub-directory-grid {
    grid-template-columns: 1fr;
  }

  .code-hub-tool-grid article {
    grid-template-columns: 1fr;
  }

  .code-hub-entry-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .code-hub-api-cta {
    grid-template-columns: 1fr;
    padding-left: 18px;
  }

  .code-hub-login-comparison {
    padding: 16px;
  }

  .code-hub-login-table,
  .code-hub-login-table tbody,
  .code-hub-login-table tr,
  .code-hub-login-table th,
  .code-hub-login-table td {
    display: block;
    width: 100%;
  }

  .code-hub-login-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .code-hub-login-table th:first-child {
    width: 100%;
  }

  .code-hub-login-table tr + tr {
    margin-top: 12px;
  }

  .code-hub-login-table td {
    border-top: 0;
  }

  .code-hub-login-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--code-ink);
    font-weight: 700;
    content: attr(data-label);
  }

  .code-hub-section-head.split {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .code-hub-section-head.split > a {
    width: 100%;
    margin-left: 46px;
  }

  .mcp-skills-hub-choice-grid > a:last-child {
    grid-column: auto;
  }

  .mcp-skills-hub-hero-visual {
    min-height: 220px;
    padding-inline: 0;
  }

  .mcp-skills-hub-hero-visual article {
    min-height: 145px;
  }

  .mcp-skills-hub-hot {
    display: none;
  }

  .mcp-skills-hub-paths ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mcp-skills-hub-paths li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    text-align: left;
  }

  .mcp-skills-hub-paths li:not(:last-child)::after {
    display: none;
  }

  .mcp-skills-hub-paths li > span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .mcp-skills-hub-section-head p,
  .mcp-skills-hub-paths p,
  .mcp-skills-hub-tutorials p {
    font-size: 13px;
    line-height: 1.55;
  }

  .mcp-skills-hub-choice-grid small,
  .mcp-skills-hub-paths li small,
  .mcp-skills-hub-tutorials small,
  .mcp-skills-hub-workflow small,
  .mcp-skills-hub-directory-grid small,
  .mcp-skills-hub-related > div small,
  .mcp-skills-hub-related > a small {
    font-size: 12px;
    line-height: 1.55;
  }

  .mcp-skills-hub-paths li > span {
    font-size: 12px;
  }

  .mcp-skills-hub-tutorials > article > div {
    grid-template-columns: 1fr;
  }

  .mcp-skills-hub-workflow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mcp-skills-hub-workflow li:not(:last-child)::after {
    display: none;
  }

  .mcp-skills-hub-related {
    grid-template-columns: auto 1fr;
  }

  .mcp-skills-hub-related > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .code-hub-hero-copy h1,
  .mcp-skills-hub-hero-copy h1 {
    font-size: 30px;
    line-height: 1.18;
  }

  .code-hub-entry-steps {
    grid-template-columns: 1fr;
  }

  .code-hub-panel,
  .mcp-skills-hub-panel {
    padding: 15px;
  }

  .mcp-skills-hub-search {
    grid-template-columns: auto 1fr;
  }

  .mcp-skills-hub-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .mcp-skills-hub-hero-visual article strong {
    font-size: 15px;
  }

  .mcp-skills-hub-hero-visual article small {
    font-size: 12px;
    line-height: 1.45;
  }
}

.mcp-skills-hub-directory-grid .unified-directory-entry { grid-column: 1 / -1; }
