.yyds-clawhub {
  color: #111827;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 14px 42px;
}

.yyds-clawhub-hero {
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, #eef6ff 48%, #fff7ed 100%);
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 28px;
}

.yyds-clawhub-hero span {
  color: #0f766e;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.yyds-clawhub-hero h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.yyds-clawhub-hero p {
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  max-width: 760px;
}

.yyds-claw-actions a,
.yyds-source-link {
  align-items: center;
  border: 1px solid #2563eb;
  border-radius: 6px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  min-height: 36px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

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

.yyds-claw-card {
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 242px;
  padding: 18px;
}

.yyds-claw-card-top {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.yyds-claw-card-top span {
  background: #e0f2fe;
  border-radius: 5px;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

.yyds-claw-card-top small {
  color: #64748b;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yyds-claw-card h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.yyds-claw-card h2 a {
  color: #0f172a;
  text-decoration: none;
}

.yyds-claw-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.yyds-claw-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.yyds-claw-stats span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  color: #334155;
  font-size: 12px;
  padding: 4px 8px;
}

.yyds-claw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.yyds-claw-actions a {
  min-height: 32px;
  padding: 0 10px;
}

.yyds-claw-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  grid-column: 1 / -1;
  padding: 28px;
}

.yyds-imported-workflow pre {
  background: #0f172a;
  border-radius: 8px;
  color: #e2e8f0;
  overflow-x: auto;
  padding: 14px;
}

.yyds-imported-workflow code {
  font-family: Consolas, Monaco, monospace;
}

.yyds-workflow-download {
  align-items: center;
  background: #2563eb;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 16px;
  text-decoration: none;
}

.yyds-file-list a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .yyds-clawhub {
    padding: 18px 10px 32px;
  }

  .yyds-clawhub-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .yyds-clawhub-hero h1 {
    font-size: 24px;
  }

  .yyds-clawhub-grid {
    grid-template-columns: 1fr;
  }
}
