body.skills-marketplace-page {
  --skill-ink: #0d1114;
  --skill-paper: #f4f6f7;
  --skill-muted: #66717a;
  --skill-line: #d7dde1;
  --skill-red: #d71920;
  --skill-steel: #aab4bc;
  --skill-panel: #fbfcfc;
  --skill-panel-deep: #e9edf0;
  --skill-radius: 12px;
  --skill-radius-sm: 8px;
  --skill-shadow: 0 22px 70px rgba(13, 17, 20, 0.09);
  margin: 0;
  min-height: 100vh;
  color: var(--skill-ink);
  background:
    linear-gradient(90deg, rgba(13, 17, 20, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 17, 20, 0.035) 1px, transparent 1px),
    var(--skill-paper);
  background-size: 64px 64px, 64px 64px, auto;
  font-family: WPSans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skills-marketplace-page *,
.skills-marketplace-page *::before,
.skills-marketplace-page *::after {
  box-sizing: border-box;
}

.skills-marketplace-page a {
  color: inherit;
  text-decoration: none;
}

.skills-marketplace-page button,
.skills-marketplace-page input,
.skills-marketplace-page textarea {
  font: inherit;
}

.skills-marketplace-page button {
  color: inherit;
}

.skills-marketplace-page :focus-visible {
  outline: 2px solid color-mix(in srgb, var(--skill-red) 72%, white);
  outline-offset: 4px;
}

.skills-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(100px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--skill-line);
  background: rgba(244, 246, 247, 0.94);
  backdrop-filter: blur(10px);
}

.skills-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 600;
}

.skills-brand__mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--skill-ink);
  border-radius: 50%;
  background: var(--skill-red);
  color: white;
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0;
}

.skills-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  color: color-mix(in srgb, var(--skill-ink) 72%, white);
  font-size: 14px;
  font-weight: 600;
}

.skills-nav a,
.skills-topbar__link,
.skills-footer a {
  transition: color 180ms ease;
}

.skills-nav a:hover,
.skills-topbar__link:hover,
.skills-footer a:hover {
  color: var(--skill-red);
}

.skills-topbar__link {
  justify-self: end;
  font-size: 14px;
  font-weight: 600;
}

.skills-hero,
.featured-skills,
.skills-workbench,
.workflow-map,
.curation-standard,
.submit-skill,
.skills-footer {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.skills-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px);
}

.skills-hero__copy {
  max-width: 760px;
}

.skills-kicker {
  width: fit-content;
  margin: 0 0 28px;
  padding: 8px 12px;
  border: 1px solid var(--skill-line);
  border-radius: 999px;
  color: var(--skill-red);
  background: rgba(251, 252, 252, 0.8);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.skills-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(54px, 7.2vw, 96px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0;
}

.skills-hero__lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--skill-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.skills-hero__actions,
.submit-skill__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.skills-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--skill-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--skill-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.skills-action:hover {
  background: var(--skill-ink);
  color: white;
  transform: translateY(-1px);
}

.skills-action:active {
  transform: translateY(0);
}

.skills-action--primary {
  border-color: var(--skill-red);
  background: var(--skill-red);
  color: white;
}

.skills-action--primary:hover {
  border-color: var(--skill-ink);
  background: var(--skill-ink);
}

.skills-index-panel {
  position: relative;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--skill-ink) 84%, white);
  border-radius: var(--skill-radius);
  background: var(--skill-panel);
  box-shadow: var(--skill-shadow);
}

.skills-index-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(13, 17, 20, 0.08);
  border-radius: var(--skill-radius-sm);
}

.index-panel__top,
.index-panel__signal,
.index-command {
  position: relative;
  display: grid;
  gap: 8px;
}

.index-panel__top {
  grid-template-columns: 1fr auto;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--skill-line);
  color: var(--skill-muted);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.index-panel__top strong {
  color: var(--skill-ink);
  font-weight: 400;
}

.index-panel__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 20px 0;
  border: 1px solid var(--skill-line);
  border-radius: var(--skill-radius-sm);
  overflow: hidden;
}

.index-panel__stats div {
  display: grid;
  gap: 3px;
  padding: 16px 12px;
  background: color-mix(in srgb, var(--skill-panel) 86%, var(--skill-panel-deep));
}

.index-panel__stats div + div {
  border-left: 1px solid var(--skill-line);
}

.index-panel__stats strong {
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  line-height: 1;
}

.index-panel__stats span,
.index-command span,
.index-panel__signal span {
  color: var(--skill-muted);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.index-command {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--skill-ink);
  border-radius: var(--skill-radius-sm);
  background: var(--skill-ink);
  color: white;
}

.index-command code {
  overflow-wrap: anywhere;
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.55;
}

.index-panel__signal {
  padding-top: 18px;
  border-top: 1px solid var(--skill-line);
}

.index-panel__signal strong {
  max-width: 30ch;
  font-size: 18px;
  line-height: 1.3;
}

.featured-skills,
.skills-workbench,
.workflow-map,
.curation-standard,
.submit-skill {
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid var(--skill-line);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-bottom: 30px;
}

.section-heading--stacked {
  margin-bottom: 34px;
}

.section-heading h2,
.submit-skill h2,
.skill-detail-panel h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.submit-skill p,
.skill-detail-panel__desc {
  margin: 0;
  color: var(--skill-muted);
  font-size: 17px;
  line-height: 1.65;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.featured-grid .skill-card:first-child {
  grid-column: span 2;
}

.skill-card {
  min-width: 0;
}

.skill-card__button {
  display: grid;
  width: 100%;
  min-height: 236px;
  gap: 18px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--skill-line);
  border-radius: var(--skill-radius);
  background: rgba(251, 252, 252, 0.76);
  color: var(--skill-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.skill-card__button:hover {
  border-color: color-mix(in srgb, var(--skill-red) 62%, var(--skill-line));
  background: var(--skill-panel);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(13, 17, 20, 0.08);
}

.skill-card__button:active {
  transform: translateY(0);
}

.skill-card.is-selected .skill-card__button {
  border-color: var(--skill-red);
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.075), rgba(251, 252, 252, 0.92) 34%),
    var(--skill-panel);
}

.skill-card--featured .skill-card__button {
  min-height: 284px;
}

.skill-card__meta,
.skill-card__identity,
.skill-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--skill-muted);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.4;
}

.skill-card__meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--skill-line);
  border-radius: 999px;
  background: var(--skill-paper);
}

.skill-card__title {
  display: block;
  max-width: 18ch;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.06;
}

.skill-card__desc {
  display: block;
  color: var(--skill-muted);
  font-size: 15px;
  line-height: 1.55;
}

.skill-card__identity {
  gap: 6px 14px;
}

.skill-card__identity span:first-child {
  color: var(--skill-ink);
}

.skill-card__footer {
  justify-content: space-between;
  gap: 10px 18px;
}

.skills-workbench {
  padding-bottom: clamp(76px, 10vw, 124px);
}

.library-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.library-main {
  min-width: 0;
}

.library-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}

.skill-search {
  display: grid;
  gap: 8px;
}

.skill-search span,
.library-result-meter {
  margin: 0;
  color: var(--skill-muted);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.skill-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--skill-line);
  border-radius: var(--skill-radius-sm);
  background: rgba(251, 252, 252, 0.82);
  color: var(--skill-ink);
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.skill-search input::placeholder {
  color: color-mix(in srgb, var(--skill-muted) 74%, white);
}

.skill-search input:focus {
  border-color: var(--skill-red);
  background: var(--skill-panel);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.08);
}

.library-result-meter {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px;
  border: 1px solid var(--skill-line);
  border-radius: var(--skill-radius-sm);
  background: rgba(251, 252, 252, 0.62);
  white-space: nowrap;
}

.skill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.skill-filters button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--skill-line);
  border-radius: 999px;
  background: transparent;
  color: color-mix(in srgb, var(--skill-ink) 76%, white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.skill-filters button:hover {
  border-color: var(--skill-ink);
  transform: translateY(-1px);
}

.skill-filters button.is-active {
  border-color: var(--skill-ink);
  background: var(--skill-ink);
  color: white;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.skill-grid .skill-card__button {
  min-height: 248px;
}

.skill-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 180px;
  align-content: center;
  justify-items: center;
  padding: 24px;
  border: 1px dashed var(--skill-line);
  border-radius: var(--skill-radius);
  color: var(--skill-muted);
  background: rgba(251, 252, 252, 0.58);
  text-align: center;
}

.skill-empty strong {
  color: var(--skill-ink);
  font-size: 22px;
}

.skill-detail-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
  max-height: calc(100svh - 116px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--skill-ink);
  border-radius: var(--skill-radius);
  background: var(--skill-panel);
  box-shadow: var(--skill-shadow);
}

.skill-detail-panel__empty {
  display: grid;
  gap: 8px;
  color: var(--skill-muted);
}

.skill-detail-panel__empty strong {
  color: var(--skill-ink);
  font-size: 24px;
  line-height: 1.15;
}

.skill-detail-panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.skill-detail-panel__header a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--skill-line);
  border-radius: 999px;
  color: var(--skill-ink);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 180ms ease, color 180ms ease;
}

.skill-detail-panel__header a:hover {
  border-color: var(--skill-red);
  color: var(--skill-red);
}

.skill-detail-panel__source {
  margin: 0 0 8px;
  color: var(--skill-red);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.skill-detail-panel h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.skill-detail-panel__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--skill-line);
  border-radius: var(--skill-radius-sm);
  overflow: hidden;
}

.skill-detail-panel__facts div {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: color-mix(in srgb, var(--skill-panel) 88%, var(--skill-panel-deep));
}

.skill-detail-panel__facts div:nth-child(even) {
  border-left: 1px solid var(--skill-line);
}

.skill-detail-panel__facts div:nth-child(n + 3) {
  border-top: 1px solid var(--skill-line);
}

.skill-detail-panel__facts span {
  color: var(--skill-muted);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.skill-detail-panel__facts strong {
  font-size: 13px;
  line-height: 1.35;
}

.skill-detail-panel__lists {
  display: grid;
  gap: 18px;
}

.skill-detail-panel__lists section {
  padding-top: 18px;
  border-top: 1px solid var(--skill-line);
}

.skill-detail-panel__lists h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0;
}

.skill-detail-panel__lists ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--skill-muted);
  list-style: none;
}

.skill-detail-panel__lists li {
  position: relative;
  padding-left: 16px;
}

.skill-detail-panel__lists li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--skill-red);
}

.skill-install-block {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--skill-ink);
  border-radius: var(--skill-radius-sm);
  background: var(--skill-ink);
  color: white;
}

.skill-install-block span {
  color: var(--skill-steel);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.skill-install-block code {
  overflow-wrap: anywhere;
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.55;
}

.skill-install-block button {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: white;
  color: var(--skill-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.skill-install-block button:hover {
  background: var(--skill-panel-deep);
  transform: translateY(-1px);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--skill-line);
  border-radius: 999px;
  color: var(--skill-muted);
  background: var(--skill-paper);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.copy-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--skill-red);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow-card button {
  display: grid;
  width: 100%;
  min-height: 286px;
  gap: 16px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--skill-line);
  border-radius: var(--skill-radius);
  background:
    linear-gradient(135deg, rgba(13, 17, 20, 0.032), transparent 42%),
    rgba(251, 252, 252, 0.74);
  color: var(--skill-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.workflow-card button:hover,
.workflow-card.is-active button {
  border-color: var(--skill-red);
  background: var(--skill-panel);
  box-shadow: 0 14px 38px rgba(13, 17, 20, 0.08);
  transform: translateY(-2px);
}

.workflow-card button:active {
  transform: translateY(0);
}

.workflow-card__index {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--skill-line);
  border-radius: 999px;
  color: var(--skill-red);
  background: var(--skill-paper);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.workflow-card strong {
  max-width: 12ch;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.02;
}

.workflow-card span:not(.workflow-card__index) {
  color: var(--skill-muted);
  line-height: 1.55;
}

.workflow-card small {
  color: color-mix(in srgb, var(--skill-ink) 72%, white);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.5;
}

.standard-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--skill-ink);
}

.standard-list div {
  display: grid;
  gap: 14px;
  min-height: 250px;
  align-content: start;
  padding: 20px;
  border-bottom: 1px solid var(--skill-line);
}

.standard-list div + div {
  border-left: 1px solid var(--skill-line);
}

.standard-list span {
  color: var(--skill-red);
  font-family: WPMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.standard-list strong {
  max-width: 12ch;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
}

.standard-list p {
  margin: 0;
  color: var(--skill-muted);
}

.submit-skill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
}

.submit-skill div:first-child {
  max-width: 700px;
}

.skills-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  min-height: 92px;
  padding: 26px 0;
  border-top: 1px solid var(--skill-line);
  color: var(--skill-muted);
  font-size: 14px;
}

.skills-footer span {
  margin-right: auto;
  color: var(--skill-ink);
  font-weight: 600;
}

@media (max-width: 1060px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standard-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standard-list div:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 860px) {
  body.skills-marketplace-page {
    background-size: 46px 46px, 46px 46px, auto;
  }

  .skills-topbar {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding-block: 12px;
  }

  .skills-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .skills-topbar__link {
    grid-column: 2;
  }

  .skills-hero,
  .library-shell,
  .submit-skill {
    grid-template-columns: 1fr;
  }

  .skills-hero {
    min-height: auto;
    padding-top: 46px;
  }

  .skills-hero h1 {
    max-width: 14ch;
    font-size: clamp(48px, 12vw, 86px);
  }

  .skills-index-panel,
  .skill-detail-panel {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .skill-detail-panel {
    order: -1;
  }

  .submit-skill__actions {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .skills-hero,
  .featured-skills,
  .skills-workbench,
  .workflow-map,
  .curation-standard,
  .submit-skill,
  .skills-footer {
    width: min(100% - 28px, 1240px);
  }

  .skills-brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .skills-nav {
    gap: 12px;
    font-size: 13px;
  }

  .skills-hero {
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .skills-kicker {
    margin-bottom: 16px;
    padding: 7px 10px;
  }

  .skills-hero h1 {
    max-width: 13ch;
    font-size: clamp(40px, 12.6vw, 52px);
    line-height: 0.98;
  }

  .skills-hero__lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .skills-hero__actions {
    gap: 10px;
    margin-top: 22px;
    width: 100%;
  }

  .submit-skill__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .skills-action {
    flex: 1 1 0;
    width: 100%;
    min-height: 42px;
    padding-inline: 12px;
  }

  .skills-index-panel,
  .skill-detail-panel {
    padding: 14px;
  }

  .skills-index-panel::before {
    inset: 7px;
  }

  .index-panel__top {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 12px;
  }

  .skill-detail-panel__header {
    grid-template-columns: 1fr;
  }

  .index-panel__stats {
    grid-template-columns: repeat(3, 1fr);
    margin: 12px 0;
  }

  .index-panel__stats div {
    padding: 11px 8px;
  }

  .index-panel__stats div + div {
    border-top: 0;
    border-left: 1px solid var(--skill-line);
  }

  .index-panel__stats strong {
    font-size: 26px;
  }

  .index-command {
    margin-bottom: 0;
    padding: 12px;
  }

  .index-panel__signal {
    display: none;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid .skill-card:first-child {
    grid-column: auto;
  }

  .skill-card__button,
  .skill-card--featured .skill-card__button,
  .skill-grid .skill-card__button {
    min-height: 220px;
    padding: 18px;
  }

  .skill-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .library-tools {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .library-result-meter {
    justify-content: flex-start;
    min-height: 38px;
  }

  .skill-filters button {
    flex: 0 0 auto;
  }

  .skill-detail-panel__facts {
    grid-template-columns: 1fr;
  }

  .skill-detail-panel__facts div:nth-child(even) {
    border-left: 0;
  }

  .skill-detail-panel__facts div + div {
    border-top: 1px solid var(--skill-line);
  }

  .standard-list {
    grid-template-columns: 1fr;
  }

  .standard-list div,
  .standard-list div:nth-child(3) {
    min-height: auto;
    border-left: 0;
  }

  .skills-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .skills-footer span {
    grid-column: 1 / -1;
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skills-marketplace-page *,
  .skills-marketplace-page *::before,
  .skills-marketplace-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
